• 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
Re: How to check socket is connected or not?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to check socket is connected or not?


  • Subject: Re: How to check socket is connected or not?
  • From: Quinn <email@hidden>
  • Date: Wed, 2 Jan 2008 10:15:10 +0000

At 19:56 +0530 27/12/07, parag vibhute wrote:
I have established TCP connection using BSD sockets between client & server. At client side, after some time of connection establishment, I want to check whether socket is still connected or not? Is there any way to find out this?

<x-man-page://2/getpeername> should do the trick.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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


  • Prev by Date: Re: is Socket shutdown necessary?
  • Next by Date: Upnp solutions
  • Previous by thread: Re: is Socket shutdown necessary?
  • Next by thread: Upnp solutions
  • Index(es):
    • Date
    • Thread