12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#import "OFSocket.h"
#import "OFString.h"
/**
* The OFTCPSocket class provides functions to create and use sockets.
*/
@interface OFTCPSocket: OFSocket {}
/**
* \return A new autoreleased OFTCPSocket
*/
+ socket;
/**
* Initializes an already allocated OFTCPSocket.
*
* \return An initialized OFTCPSocket
*/
- init;
/**
* Connect the OFTCPSocket to the specified destination.
*
* \param service The service on the node to connect to
* \param node The node to connect to
*/
- connectToService: (OFString*)service
|
<
<
<
<
<
<
<
<
<
<
<
<
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#import "OFSocket.h"
#import "OFString.h"
/**
* The OFTCPSocket class provides functions to create and use sockets.
*/
@interface OFTCPSocket: OFSocket {}
/**
* Connect the OFTCPSocket to the specified destination.
*
* \param service The service on the node to connect to
* \param node The node to connect to
*/
- connectToService: (OFString*)service
|