Overview
| Artifact ID: | 4a43df886414d1d3c548f132cca026922581f3a8 |
|---|---|
| Ticket: | 218526ffffffffffffffffffffffffffffffffff
socket -async problem on Win32 |
| User & Date: | nobody on 2000-10-26 01:01:43 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 893 Bug Version: 8.0.4 SubmitDate: '1998-12-03' LastModified: '1999-02-02' Severity: MED Status: Released Submitter: welch ChangedBy: stanton OS: All OSVersion: NA Machine: NA FixedDate: '1999-02-02' FixedInVersion: 8.0.5 ClosedDate: '2000-10-25' I ran into a problem when doing an asynchronous connect on Windows. If the connect fails, you never get notified that the connect failed. The problem is that FD_CONNECT is not watched for. I also added a small feature to help with asynchronous connects. Once the connect fails, there was no reasonable way to tell that it failed or to get an error message. You could determine that the connect failed (on Unix only before the fix) by trying to write a 0 byte string to the socket, and it would fail if the connect failed. However, you still couldn't tell why the connect failed. I added a fconfigure option that will give the status of the connect. fconfigure sockid -error will return an error string representing the error condition. If there was no error condition, this will return an empty string. Here is the patch for both things. Patch on the web
- foundin changed to: "obsolete: 8.0.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "63. (unused)"
- title changed to: "socket -async problem on Win32"
- type changed to: "Bug"