Opened 14 years ago

Closed 14 years ago

#1150 closed Feature Request (Fixed)

TCPrecv returns @error=-1

Reported by: sksbir Owned by: Jpm
Milestone: Component: Documentation
Version: Severity: None
Keywords: tcprecv Cc:


I have noted that when the port is closed from remote side , TCPrecv returns "" and set @error to -1.

1/ TCPlocal successfull on local side
2/ TCPrecv sucessfull on local side
3/ remote host close it's port.(tcpclose)
4/ further local TCPrecv returns "" and @error is set to -1

Documentation just says : Returns "" and set @error according to Windows API WSAGetError return.

It should be great to get an explanation in documentation about -1 return code (-1 is NOT a windows socket error code)


Attachments (0)

Change History (2)

comment:1 Changed 14 years ago by TicketCleanup

  • Version deleted

Automatic ticket cleanup.

comment:2 Changed 14 years ago by Jpm

  • Milestone set to
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version:

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

as closed The owner will remain Jpm.

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

Note: See TracTickets for help on using tickets.