Cancel printer network connection
Cancel printer network connection
- Subject: Cancel printer network connection
- From: Peter C <email@hidden>
- Date: Wed, 9 Dec 2009 09:40:37 +0800
Hi,
I have a basic LPR code with socket (blocking) for sending printer file directly to printer. The code works fine, now I want to add a cancel feature (cancel button on the GUI) . When data is write to socket, it is block, not able to abort. How do I go about it ? I read the SocketCancel sample code but it is using non blocking code.
Another question, current the code is in C socket, I would like keep it simple, perhaps in Cocoa, which API should I look at ?
Sorry for such a basic questions, networking is not my expertise.
Peter _______________________________________________
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