• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cable disconnected event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cable disconnected event


  • Subject: Cable disconnected event
  • From: Marco Bambini <email@hidden>
  • Date: Mon, 14 May 2007 17:31:20 +0200

Hi all,

I am writing a server using C code and sockets.
Everything is working fine but the problem is that if the server is blocked in a select statement waiting for commands from the client side, if the network cable is disconnected then there is no way for the server to know that the client is disconnected. Is there a way to check for this kind of events? Is polling the client the only solution to the "cable disconnected" event?


Thanks a lot,
---
Marco Bambini

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Cable disconnected event
      • From: "Peter Sichel" <email@hidden>
    • Re: Cable disconnected event
      • From: Frederick Cheung <email@hidden>
  • Prev by Date: Re: Ignoring credentials in shared NSURLCredentialStorage
  • Next by Date: AEBS NAT algorithm used
  • Previous by thread: Re: Re: CFReadStreamRead doesn't read data over SSL (HTTPS) server
  • Next by thread: Re: Cable disconnected event
  • Index(es):
    • Date
    • Thread