Thanks to visit codestin.com
Credit goes to github.com

Skip to content

dvaqueiro/simple_sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TCP client/server researching in C

Test some simple implementations of TCP client/server in C capable handle multiples clients.

Server types:

  • simple_server.c: This servers accepts only one client at a time. This is the base server to test creating, binding, ... sockets in C.

  • select_server.c: This server uses the select function to handle multiples clients. This is the base server to test the select function in C.

Build and run

To build the server, run the following commands:

$ make build server

To run the server, run the following commands:

$ ./bin/server

To build the client, run the following commands:

$ make build client

To run the client, run the following commands:

$ ./bin/client

About

Test some simple implementations of TCP client/server in C capable handle multiples clients.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published