winsock i/model About Windows Socket

The general model for creating a streaming TCP/IP Server and Client.

Server

  1. Initialize Winsock
  2. Create a socket
  3. Bind a socket
  4. Listen on the socket for a client.
  5. Accept a connection from a client.
  6. Receive and Send data.
  7. Disconnet.

Client

  1. Initialize Winsock
  2. Create a socket
  3. Connect to the server
  4. Send and Receive data.
  5. Disconnet.

About Windows Socket

Windows Socket
Winsock defines a standard service provider interface(SPI)