Skip to content

RubinInsert/BasicWinSockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinSock Implementations

TCP

  • Echos the message back to clients, and has a basic command to close the server.
    • OneServerOneClient serves clients one at a time and places the rest in a queue.
    • MultipleClients serves clients in a main loop consecutively.

UDP

  • Sends the mouse coordinates from the client to the server
    • The client serializes the POINT struct into the buffer
    • The server deserializes the POINT struct and prints it to the console

Resources

Additional Reading

Stack Overflow - Blocking vs Non-Blocking sockets

TCP Client-Server Interaction

image image

UDP Client-Server Interaction

image

About

TCP and UDP Implementations of the WinSock API in C.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages