Platform SDK: Windows Sockets |
Before a socket can be used to set up a connection or receive a connection request, it needs to be bound to a local address. This could be done explicitly by calling WSPBind, or implicitly by WSPConnect if the socket is unbound when this function is called.