126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
*
* @param host The host to connect to
* @param port The port on the host to connect to
*/
- (void)connectToHost: (OFString*)host
port: (uint16_t)port;
#ifdef OF_THREADS
/*!
* @brief Asyncronously connect the OFTCPSocket to the specified destination.
*
* @param host The host to connect to
* @param port The port on the host to connect to
* @param target The target on which to call the selector once the connection
* has been established
|
|
|
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
*
* @param host The host to connect to
* @param port The port on the host to connect to
*/
- (void)connectToHost: (OFString*)host
port: (uint16_t)port;
#ifdef OF_HAVE_THREADS
/*!
* @brief Asyncronously connect the OFTCPSocket to the specified destination.
*
* @param host The host to connect to
* @param port The port on the host to connect to
* @param target The target on which to call the selector once the connection
* has been established
|