| Index: net/socket/socket.h
|
| diff --git a/net/socket/socket.h b/net/socket/socket.h
|
| index fccb25873a452a85d788f93aef323e0148c30bd8..5d9af81f20588d6e421b78c7598aa16755f9b1e8 100644
|
| --- a/net/socket/socket.h
|
| +++ b/net/socket/socket.h
|
| @@ -48,13 +48,13 @@ class NET_EXPORT Socket {
|
|
|
| // Set the receive buffer size (in bytes) for the socket.
|
| // Note: changing this value can affect the TCP window size on some platforms.
|
| - // Returns true on success, or false on failure.
|
| - virtual bool SetReceiveBufferSize(int32 size) = 0;
|
| + // Returns a net error code.
|
| + virtual int SetReceiveBufferSize(int32 size) = 0;
|
|
|
| // Set the send buffer size (in bytes) for the socket.
|
| // Note: changing this value can affect the TCP window size on some platforms.
|
| - // Returns true on success, or false on failure.
|
| - virtual bool SetSendBufferSize(int32 size) = 0;
|
| + // Returns a net error code.
|
| + virtual int SetSendBufferSize(int32 size) = 0;
|
| };
|
|
|
| } // namespace net
|
|
|