Modify

Opened 6 years ago

Closed 6 years ago

#3671 closed Bug (No Bug)

TCPRecv/TCPAccept wrong @error detection (also -1 and -2 ...)

Reported by: TJF Owned by:
Milestone: Component: AutoIt
Version: 3.3.14.5 Severity: None
Keywords: TCPRecv Cc:

Description

TCPRecv leads to an @error after receiving message -> TCPAccept

TCPRecv cannot be used to detect a lost server-connection, because TCPRecv doesn't return correct @error (and correct -1 and -2.)

Attachments (2)

01_Bug_TCP_Server.au3 (1.4 KB) - added by TJF 6 years ago.
The first starting Server example
01_Bug_TCP_Client.au3 (736 bytes) - added by TJF 6 years ago.
The Client

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by TJF

The first starting Server example

Changed 6 years ago by TJF

The Client

comment:1 Changed 6 years ago by TJF

Sorry there is a wrong server file. There is a "...Until $iSocket <> -1"

comment:2 Changed 6 years ago by Jos

Please use the forum for questions and only report Bugs when they are confirmed there.
Jos

comment:3 Changed 6 years ago by Jos

  • Resolution set to No Bug
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.