Skip to content

This TCP IP server is able to handle multiple clients. When a client connects and sends a message, the server broadcasts exactly what is received from the client (there is no special client managing). It is up the clients to display their own username. This server is limited to 512 character messages.

Notifications You must be signed in to change notification settings

nahrens007/Windows-TCPIP-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows-TCPIP-Server

This TCP IP server is able to handle multiple clients. When a client connects and sends a message, the server broadcasts exactly what is received from the client (there is no special client managing). It is up the clients to display their own username. This server is limited to 512 character messages. Clients who unexpectedly disconnect are automatically removed from the broadcastig list.

Resources

I used the following resources for creating the server:
http://www.bogotobogo.com/cplusplus/multithreading_win32A.php
https://msdn.microsoft.com/en-us/library/windows/desktop/ms738545(v=vs.85).aspx

Compile

When you compile, you must link to ws2_32; it contains the socket library required.

About

This TCP IP server is able to handle multiple clients. When a client connects and sends a message, the server broadcasts exactly what is received from the client (there is no special client managing). It is up the clients to display their own username. This server is limited to 512 character messages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages