Socket issue + LAN

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Sep 2007
Posts: 2
Reputation: waqar40 is an unknown quantity at this point 
Solved Threads: 0
waqar40 waqar40 is offline Offline
Newbie Poster

Socket issue + LAN

 
0
  #1
Sep 13th, 2007
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
Last edited by Ancient Dragon; Sep 13th, 2007 at 6:56 am. Reason: removed bold text formatting
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,678
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1504
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Socket issue + LAN

 
0
  #2
Sep 13th, 2007
Is the server checking the status of the socket connections before attempting to use them?
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 2
Reputation: waqar40 is an unknown quantity at this point 
Solved Threads: 0
waqar40 waqar40 is offline Offline
Newbie Poster

Re: Socket issue + LAN

 
0
  #3
Sep 14th, 2007
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum


Views: 743 | Replies: 2
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC