|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Is there something wrong with using NSSocketPort and asynchronous callbacks with NSFileHandle? Assuming serverSocket and serverHandle are instance variables, something like:
serverSocket = [[NSSocketPort alloc] initWithTCPPort:myPortNumber];
serverHandle = [[NSFileHandle alloc] initWithFileDescriptor: [serverSocket socket] closeOnDealloc:YES];
Douglas Davidson
_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| References: | |
| >Implementing a TCP port listener in Cocoa (From: Rick Hoge <email@hidden>) | |
| >Re: Implementing a TCP port listener in Cocoa (From: Jakob Olesen <email@hidden>) | |
| >Re: Implementing a TCP port listener in Cocoa (From: Andrew Bowman <email@hidden>) | |
| >Re: Implementing a TCP port listener in Cocoa (From: Jakob Olesen <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.