Skip to content

TCP connection between client and server programs using glibc's socket implementation

License

Notifications You must be signed in to change notification settings

jstmm/tcp-client-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP Client Server

TCP connection between client and server programs using glibc's socket implementation

Install

Build using:

$ make

Single connection

Start server with:

$ ./build/server

And client with:

$ ./build/client 127.0.0.1

Multi-connection using select()

Start server with:

$ ./build/server_select

And client with:

$ nc 127.0.0.1 5555 # TODO: to replace with client executable

Then type the text to be sent.

Debugging can be done using VSCode launch configurations.

About

TCP connection between client and server programs using glibc's socket implementation

Resources

License

Stars

Watchers

Forks