954,219 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Socket issue + LAN

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

waqar40
Newbie Poster
2 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

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

Ancient Dragon
Retired & Loving It
Team Colleague
30,046 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,342
 

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

waqar40
Newbie Poster
2 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You