Re: Regarding CFRunLoop and multible outgoing connections
Re: Regarding CFRunLoop and multible outgoing connections
- Subject: Re: Regarding CFRunLoop and multible outgoing connections
- From: Quinn <email@hidden>
- Date: Mon, 3 Apr 2006 15:15:21 +0100
At 18:40 +0200 1/4/06, Fredrik H. Larsen wrote:
The problem is how I should add new outgoing connections to the runloop.
1. Create the socket (CFSocketCreate, CFSocketCreateWithNative,
CFSocketCreateWithSocketSignature).
2. Create a runloop source from that socket (CFSocketCreateRunLoopSource).
3. Add it to the runloop (CFRunLoopAddSource).
4. Connect the socket (CFSocketConnectToAddress).
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, 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