Index: trunk/src/net/udp/udp_socket_win.h |
=================================================================== |
--- trunk/src/net/udp/udp_socket_win.h (revision 262001) |
+++ trunk/src/net/udp/udp_socket_win.h (working copy) |
@@ -95,12 +95,10 @@ |
const CompletionCallback& callback); |
// Set the receive buffer size (in bytes) for the socket. |
- // Returns a net error code. |
- int SetReceiveBufferSize(int32 size); |
+ bool SetReceiveBufferSize(int32 size); |
// Set the send buffer size (in bytes) for the socket. |
- // Returns a net error code. |
- int SetSendBufferSize(int32 size); |
+ bool SetSendBufferSize(int32 size); |
// Returns true if the socket is already connected or bound. |
bool is_connected() const { return socket_ != INVALID_SOCKET; } |