16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#import "OFDNSResolver.h"
#import "OFRunLoop.h"
#import "OFRunLoop+Private.h"
OF_ASSUME_NONNULL_BEGIN
@protocol OFIPSocketAsyncConnecting
- (bool)of_createSocketForAddress: (const of_socket_address_t *)address
errNo: (int *)errNo;
- (bool)of_connectSocketToAddress: (const of_socket_address_t *)address
errNo: (int *)errNo;
- (void)of_closeSocket;
@end
@interface OFIPSocketAsyncConnector: OFObject <OFRunLoopConnectDelegate,
OFDNSResolverHostDelegate>
{
|
|
|
|
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#import "OFDNSResolver.h"
#import "OFRunLoop.h"
#import "OFRunLoop+Private.h"
OF_ASSUME_NONNULL_BEGIN
@protocol OFIPSocketAsyncConnecting
- (bool)of_createSocketForAddress: (const OFSocketAddress *)address
errNo: (int *)errNo;
- (bool)of_connectSocketToAddress: (const OFSocketAddress *)address
errNo: (int *)errNo;
- (void)of_closeSocket;
@end
@interface OFIPSocketAsyncConnector: OFObject <OFRunLoopConnectDelegate,
OFDNSResolverHostDelegate>
{
|