80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
#if !defined(OF_WII) && !defined(OF_NINTENDO_3DS)
/**
* @brief Whether the socket sends keep alives for the connection.
*
* @warning This is not available on the Wii or Nintendo 3DS!
*
* @throw OFSetOptionFailedException The option could not be set
* @throw OFGetOptionFailedException The option could not be gotten
*/
@property (nonatomic) bool sendsKeepAlives;
#endif
#ifndef OF_WII
/**
* @brief Whether sending segments can be delayed. Setting this to `false` sets
* TCP_NODELAY on the socket.
*
* @warning This is not available on the Wii!
*
* @throw OFSetOptionFailedException The option could not be set
* @throw OFGetOptionFailedException The option could not be gotten
*/
@property (nonatomic) bool canDelaySendingSegments;
#endif
/**
* @brief The host to use as a SOCKS5 proxy.
*/
|
|
|
|
|
|
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
#if !defined(OF_WII) && !defined(OF_NINTENDO_3DS)
/**
* @brief Whether the socket sends keep alives for the connection.
*
* @warning This is not available on the Wii or Nintendo 3DS!
*
* @throw OFGetOptionFailedException The option could not be retrieved
* @throw OFSetOptionFailedException The option could not be set
*/
@property (nonatomic) bool sendsKeepAlives;
#endif
#ifndef OF_WII
/**
* @brief Whether sending segments can be delayed. Setting this to `false` sets
* TCP_NODELAY on the socket.
*
* @warning This is not available on the Wii!
*
* @throw OFGetOptionFailedException The option could not be retrieved
* @throw OFSetOptionFailedException The option could not be set
*/
@property (nonatomic) bool canDelaySendingSegments;
#endif
/**
* @brief The host to use as a SOCKS5 proxy.
*/
|