| Index: trunk/src/net/socket/socket.h
|
| ===================================================================
|
| --- trunk/src/net/socket/socket.h (revision 262001)
|
| +++ trunk/src/net/socket/socket.h (working copy)
|
| @@ -48,13 +48,13 @@
|
|
|
| // Set the receive buffer size (in bytes) for the socket.
|
| // Note: changing this value can affect the TCP window size on some platforms.
|
| - // Returns a net error code.
|
| - virtual int SetReceiveBufferSize(int32 size) = 0;
|
| + // Returns true on success, or false on failure.
|
| + virtual bool 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 a net error code.
|
| - virtual int SetSendBufferSize(int32 size) = 0;
|
| + // Returns true on success, or false on failure.
|
| + virtual bool SetSendBufferSize(int32 size) = 0;
|
| };
|
|
|
| } // namespace net
|
|
|