Skip to content

ssiddharthssharma/Socket-Programming-UDP-chat-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Socket-Programming-UDP-chat-client

We use asynchronous I/O for UDP chat between Server and Client using non-blocking read and write.

To compile the code using gcc

Use:

  gcc udpchatsvr.c -o udpchatsvr


  gcc udpchatclient.c -o udpchatclient

Execute the server in 1st machine specifying the port,use sudo if using port number < 1024

  ./udpchatsvr <server port>

Execute the client in 2nd machine

  ./udpchatclient <server IP> <listening port>

About

We use asynchronous IO for UDP chat between Server and Client using non-blocking read and write.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages