• 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
socket problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

socket problem


  • Subject: socket problem
  • From: Morphine <email@hidden>
  • Date: Mon, 16 Jun 2003 19:26:21 +0200

Hello,

I have a problem with socket !!!
I develop a application (client/server) that use RendezVous and NSNetService. For connect, write and read no problem ; if I close the NSFileHandle that handle the socket with the function [socketFileHandle closeFile] on the client side, I don't know how to check if connection is alive from the server ?
Same question, if I don't close the client's socket and force to quit the client (if client bug), how to handle this event from the server ?

I generally know that it's the server that close the socket, but I want the errors under control.

Thank you very much.

--------------------
David MIGLIOR
WyWiWyg - What You Want Is What You Get
Til/Fax : +33 (0)4.97.14.09.49
mailto:email@hidden
http://www.wywiwyg.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: IB framework not compatible with Obj-C++ ?
  • Next by Date: NSTableView ignoring arrow keys (solved)
  • Previous by thread: Re: Changing filetype/extension of saved document?
  • Next by thread: Re: socket problem
  • Index(es):
    • Date
    • Thread