Differences From Artifact [3d20c31b29]:
- File
src/OFUDPSocket.h
— part of check-in
[5025cba435]
at
2014-01-27 22:01:46
on branch trunk
— Add OFUDPSocket
Async operations will follow later. (user: js, size: 4509) [annotate] [blame] [check-ins using]
To Artifact [7885c380e7]:
- File src/OFUDPSocket.h — part of check-in [c4f36e3692] at 2014-01-29 15:59:01 on branch trunk — OFUDPSocket: Add observing (user: js, size: 4604) [annotate] [blame] [check-ins using]
︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | + | * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFObject.h" #import "OFKernelEventObserver.h" #import "socket.h" /*! @file */ /*! * @brief A struct which represents a host / port pair for a UDP socket. |
︙ | |||
34 35 36 37 38 39 40 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | - + + | * Addresses are of type @ref of_udp_socket_address_t. You can use * @ref resolveAddressForHost:port:address: to create an address for a host / * port pair and @ref hostForAddress:port: to get the host / port pair for an * address. If you want to compare two addresses, you can use * @ref of_udp_socket_address_equal and you can use * @ref of_udp_socket_address_hash to get a hash to use in e.g. @ref OFMapTable. */ |
︙ |