23 OF_ASSUME_NONNULL_BEGIN
40 OF_DEPRECATED(ObjFW, 1, 2,
"Use OFSPXSocketConnectedHandler instead");
53 uint32_t network,
const unsigned char node[_Nonnull IPX_NODE_LEN],
54 uint16_t port,
id _Nullable exception);
75 didConnectToNetwork: (uint32_t)network
76 node: (const
unsigned char [_Nonnull IPX_NODE_LEN])node
78 exception: (nullable
id)exception;
103 @property OF_NULLABLE_PROPERTY (assign, nonatomic)
116 - (
void)connectToNetwork: (uint32_t)network
117 node: (const
unsigned char [_Nonnull IPX_NODE_LEN])node
118 port: (uint16_t)port;
128 - (
void)asyncConnectToNetwork: (uint32_t)network
129 node: (const
unsigned char [_Nonnull IPX_NODE_LEN])node
130 port: (uint16_t)port;
142 - (
void)asyncConnectToNetwork: (uint32_t)network
143 node: (const
unsigned char [_Nonnull IPX_NODE_LEN])node
147 #ifdef OF_HAVE_BLOCKS 159 - (void)asyncConnectToNetwork: (uint32_t)network
160 node: (const
unsigned char [_Nonnull IPX_NODE_LEN])node
163 OF_DEPRECATED(ObjFW, 1, 2,
164 "Use -[asyncConnectToNetwork:node:port:handler:] instead");
175 - (void)asyncConnectToNetwork: (uint32_t)network
176 node: (const
unsigned char [_Nonnull IPX_NODE_LEN])node
194 - (void)asyncConnectToNetwork: (uint32_t)network
195 node: (const
unsigned char [_Nonnull IPX_NODE_LEN])node
199 OF_DEPRECATED(ObjFW, 1, 2,
200 "Use -[asyncConnectToNetwork:node:port:runLoopMode:handler:] instead");
213 - (void)asyncConnectToNetwork: (uint32_t)network
214 node: (const
unsigned char [_Nonnull IPX_NODE_LEN])node
233 bindToNetwork: (uint32_t)network
234 node: (const
unsigned char [_Nonnull IPX_NODE_LEN])node
235 port: (uint16_t)port;
238 OF_ASSUME_NONNULL_END
A class for storing constant strings using the @"" literal.
Definition: OFConstantString.h:41
A struct which represents a host / port pair for a socket.
Definition: OFSocket.h:189
A class for handling strings.
Definition: OFString.h:142
void(^ OFSPXSocketConnectedHandler)(OFSPXSocket *socket, uint32_t network, const unsigned char node[IPX_NODE_LEN], uint16_t port, id exception)
A handler which is called when the socket connected.
Definition: OFSPXSocket.h:52
A base class for sequenced packet sockets.
Definition: OFSequencedPacketSocket.h:181
A class which provides methods to create and use SPX sockets.
Definition: OFSPXSocket.h:92
A delegate for OFSequencedPacketSocket.
void(^ OFSPXSocketAsyncConnectBlock)(id exception)
A block which is called when the socket connected.
Definition: OFSPXSocket.h:39