Skip to content

Server and client written in C, communicating through sockets.

Notifications You must be signed in to change notification settings

Juliakas/bsd-sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bsd-sockets

Server and client written in C, communicating through sockets.

When server is running, clients can connect to play a game of hangman. Server accepts multiple clients with a help of process forking, however they play on separate game instances.

Compile each component separately using gcc. For example: gcc -o client.o client/client.c and gcc -o server.o server/server.c.

After compiling start the server ./server.o PORT_NUM. For example ./server.o 6000. Then run the client ./client.o HOST PORT_NUM. For example ./client.o localhost 6000.

About

Server and client written in C, communicating through sockets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages