Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nahrens007/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.
https://github.com/nahrens007/windows-tcpip-server

multithreading server socket tcp thread windows

Last synced: 2 months ago
JSON representation

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.

Awesome Lists containing this project

README

        

# 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.