i have developed a server which broad casts message to n clients at regular interval of time but issue with the server is when LAN got disconnected Server crashes and message sending stoped. I want such a solution that Server must not crash regardless of the status of LAN

Please Note: It TCP/IP based server

Is the server checking the status of the socket connections before attempting to use them?

No its not checking status of connections before using. How may i check the status of server at any instant whether connected or not. Some people said check send or recv function but they will indicate about client socket not Server if they indicate server status too then i realy dont know and i want you to please let me know about solution

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.