ObjFW  Diff

Differences From Artifact [ec6af069b2]:

To Artifact [6bae3c2189]:


58
59
60
61
62
63
64
65

66

67
68
69
70
71
72
73

74
75
76
77
78
58
59
60
61
62
63
64

65
66
67
68
69
70
71
72
73

74


75
76
77







-
+

+






-
+
-
-



 * @note The delegate is retained for as long as asynchronous operations are
 *	 still ongoing.
 */
@property OF_NULLABLE_PROPERTY (assign, nonatomic)
    id <OFDDPSocketDelegate> delegate;

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

OF_ASSUME_NONNULL_END