socket problem
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.