Modify

Opened 7 years ago

Closed 7 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 7 years ago.
The first starting Server example
01_Bug_TCP_Client.au3 (736 bytes ) - added by TJF 7 years ago.
The Client

Download all attachments as: .zip

Change History (5)

by TJF, 7 years ago

Attachment: 01_Bug_TCP_Server.au3 added

The first starting Server example

by TJF, 7 years ago

Attachment: 01_Bug_TCP_Client.au3 added

The Client

comment:1 by TJF, 7 years ago

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

comment:2 by Jos, 7 years ago

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

comment:3 by Jos, 7 years ago

Resolution: No Bug
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.