ObjFW  Diff

Differences From Artifact [9a246da830]:

To Artifact [d15837842c]:


159
160
161
162
163
164
165
166

167
168
169
170
171
172
173
174
159
160
161
162
163
164
165

166
167
168
169
170
171
172
173
174







-
+








			block: (OFSPXStreamSocketAsyncConnectBlock)block;
#endif

/**
 * @brief Bind the socket to the specified network, node and port.
 *
 * @param port The port (sometimes called socket number) to bind to. 0 means to
 *	       pick one and return it.
 *	       pick one and return via the returned socket address.
 * @return The address on which this socket can be reached
 * @throw OFConnectionFailedException Binding failed
 * @throw OFAlreadyConnectedException The socket is already connected or bound
 */
- (OFSocketAddress)bindToPort: (uint16_t)port;
@end

OF_ASSUME_NONNULL_END