acceptConnectionInBackgroundAndNotify
非同期で、ストリーム型ソケットとの接続をバックグラウンドで関係を受け入れます
解説
非同期で、ストリーム型ソケットとの接続をバックグラウンドで受け付けます。
通信チャンネルのニア(クライアント側)のNSFileHandleを作成します。
返り値
( void )
なし
引数
フレームワーク
Foundation
クラス
NSFileHandle
Instance Methods
使用可能
10.0
参照
- enqueueNotification:postingStyle:coalesceMask:forModes:(NSNotificationQueue)
-readInBackgroundAndNotify
-readToEndOfFileInBackgroundAndNotify
例文
handle10 = [[NSFileHandle alloc] initWithFileDescriptor:1 closeOnDealloc:YES];
[handle10 acceptConnectionInBackgroundAndNotify];