nonblocking - Reliable TCP server in Linux using C -


i have written simple tcp server c program listens connections on port 4500 , works fine.

now while waiting client connect if restart internet services , try connect server should connect. can suggest how not getting it. have read beej's guide make calls non-blocking making read call non-blocking whereas think have make accept() non-blocking.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -