Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regarding CFRunLoop and multible outgoing connections



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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >Re: Regarding CFRunLoop and multible outgoing connections (From: "Fredrik H. Larsen" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.