To explain the states of the winsock control
Submitted On | |
By | Dave Bushea |
Level | Advanced |
User Rating | 2.8 (17 globes from 6 users) |
Compatibility | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 |
Category | Internet/ HTML |
World | Visual Basic |
Archive File |
The States:
0 - The Port is Closed
1 - Connection in use
2 - Listening
3 - Connection Pending
4 - Resolving Host
5 - Host Resolved
6 - Connecting
7 - Connected
8 - peer is closing the connection
9 - Error
Questions or comments?