32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
+
-
-
+
+
+
|
/*!
* @class OFIPXSocket OFIPXSocket.h ObjFW/OFIPXSocket.h
*
* @brief A class which provides methods to create and use IPX sockets.
*
* Addresses are of type @ref of_socket_address_t. You can use
* @ref of_socket_address_ipx to create an address or
* @ref of_socket_address_get_ipx_network to get the IPX network,
* @ref of_socket_address_ipx_get to get the IPX network, node and port
* (somtimes also called socket number).
* @ref of_socket_address_get_ipx_node to get the IPX node and
* @ref of_socket_address_get_port to get the port (sometimes also called
* socket number).
*
* @warning Even though the OFCopying protocol is implemented, it does *not*
* return an independent copy of the socket, but instead retains it.
* This is so that the socket can be used as a key for a dictionary,
* so context can be associated with a socket. Using a socket in more
* than one thread at the same time is not thread-safe, even if copy
* was called to create one "instance" for every thread!
|