PDA

Click to See Complete Forum and Search --> : [RESOLVED] Request: WinSock error list


Yoosha
Jan 23rd, 2008, 07:55 AM
Hi,
I need list of errors for WinSock if possible.
Ex.: #1= ... #2=... #3=...
...
Tnx ;).

BULK
Jan 23rd, 2008, 03:43 PM
This is maybe what you are looking for.

(Winsock.State)
0 = Port Closed
1 = Port Open
2 = Listen
3 = Connection pending
4 = Translating Host
5 = Host Translated
6 = Connecting
7 = Connected
8 = Host Closed Connection
9 = Error

Doogle
Jan 23rd, 2008, 03:57 PM
If you have a project with a Winsock control, open the Object Browser in the IDE. (View -> Object Browser) Select MSWinsockLib and then Click on "Error Constants" in the left hand side. They will all then appear in the right hand side.

Yoosha
Jan 24th, 2008, 01:33 AM
Thansk both ;).