summaryrefslogtreecommitdiffstats
path: root/net/udp/udp_socket_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/udp/udp_socket_win.h')
-rw-r--r--net/udp/udp_socket_win.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/udp/udp_socket_win.h b/net/udp/udp_socket_win.h
index a3ed37e..ca4ecb1 100644
--- a/net/udp/udp_socket_win.h
+++ b/net/udp/udp_socket_win.h
@@ -96,6 +96,12 @@ class UDPSocketWin : public base::NonThreadSafe {
const IPEndPoint& address,
OldCompletionCallback* callback);
+ // Set the receive buffer size (in bytes) for the socket.
+ bool SetReceiveBufferSize(int32 size);
+
+ // Set the send buffer size (in bytes) for the socket.
+ bool SetSendBufferSize(int32 size);
+
// Returns true if the socket is already connected or bound.
bool is_connected() const { return socket_ != INVALID_SOCKET; }