![c - How do I make the program exit when server is disconnected instead of going into an infinte loop? - Stack Overflow c - How do I make the program exit when server is disconnected instead of going into an infinte loop? - Stack Overflow](https://i.stack.imgur.com/mTs1s.png)
c - How do I make the program exit when server is disconnected instead of going into an infinte loop? - Stack Overflow
![Server. Servers Room Data Center. Backup, Hosting, Mainframe, Farm And Computer Rack With Storage Information. 3d Render Stock Photo, Picture and Royalty Free Image. Image 160075326. Server. Servers Room Data Center. Backup, Hosting, Mainframe, Farm And Computer Rack With Storage Information. 3d Render Stock Photo, Picture and Royalty Free Image. Image 160075326.](https://previews.123rf.com/images/kwarkot/kwarkot2012/kwarkot201200002/160075326-server-servers-room-data-center-backup-hosting-mainframe-farm-and-computer-rack-with-storage.jpg)
Server. Servers Room Data Center. Backup, Hosting, Mainframe, Farm And Computer Rack With Storage Information. 3d Render Stock Photo, Picture and Royalty Free Image. Image 160075326.
![Interior View Of A Data Center's Server Station Stock Photo, Picture and Royalty Free Image. Image 91065169. Interior View Of A Data Center's Server Station Stock Photo, Picture and Royalty Free Image. Image 91065169.](https://previews.123rf.com/images/gogian/gogian1711/gogian171100081/91065169-interior-view-of-a-data-center-s-server-station.jpg)