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