20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#import "OFDatagramSocket.h"
OF_ASSUME_NONNULL_BEGIN
@class OFString;
/**
* @protocol OFUDPSocketDelegate OFUDPSocket.h ObjFW/OFUDPSocket.h
*
* @brief A delegate for OFUDPSocket.
*/
@protocol OFUDPSocketDelegate <OFDatagramSocketDelegate>
@end
/**
* @class OFUDPSocket OFUDPSocket.h ObjFW/OFUDPSocket.h
*
* @brief A class which provides methods to create and use UDP sockets.
*
* Addresses are of type @ref OFSocketAddress. You can use the current thread's
* @ref OFDNSResolver to create an address for a host / port pair,
* @ref OFSocketAddressString to get the IP address string for an address and
* @ref OFSocketAddressIPPort to get the port for an address. If you want to
|
|
|
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#import "OFDatagramSocket.h"
OF_ASSUME_NONNULL_BEGIN
@class OFString;
/**
* @protocol OFUDPSocketDelegate OFUDPSocket.h ObjFW/ObjFW.h
*
* @brief A delegate for OFUDPSocket.
*/
@protocol OFUDPSocketDelegate <OFDatagramSocketDelegate>
@end
/**
* @class OFUDPSocket OFUDPSocket.h ObjFW/ObjFW.h
*
* @brief A class which provides methods to create and use UDP sockets.
*
* Addresses are of type @ref OFSocketAddress. You can use the current thread's
* @ref OFDNSResolver to create an address for a host / port pair,
* @ref OFSocketAddressString to get the IP address string for an address and
* @ref OFSocketAddressIPPort to get the port for an address. If you want to
|