diff options
Diffstat (limited to 'net/udp/udp_client_socket.h')
-rw-r--r-- | net/udp/udp_client_socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/udp/udp_client_socket.h b/net/udp/udp_client_socket.h index 8ba07e5..602d09b 100644 --- a/net/udp/udp_client_socket.h +++ b/net/udp/udp_client_socket.h @@ -28,8 +28,8 @@ class UDPClientSocket : public DatagramClientSocket { virtual void Close(); virtual int GetPeerAddress(AddressList* address) const; virtual int GetLocalAddress(AddressList* address) const; - virtual bool SetReceiveBufferSize(int32 size) { return true; } - virtual bool SetSendBufferSize(int32 size) { return true; } + virtual bool SetReceiveBufferSize(int32 size); + virtual bool SetSendBufferSize(int32 size); private: UDPSocket socket_; |