Update RawSocket.h

Updating documentation
This commit is contained in:
Alvin M. 2014-11-06 10:18:47 -05:00
parent 7a8051f37d
commit 4aac27b33c

View File

@ -69,7 +69,7 @@ public:
/// Restricts incoming and outgoing
/// packets to the specified address.
///
/// Cannot be used together with bind().
/// Calls to connect cannot come before calls to bind.
void bind(const SocketAddress& address, bool reuseAddress = false);
/// Bind a local address to the socket.
@ -80,7 +80,7 @@ public:
/// If reuseAddress is true, sets the SO_REUSEADDR
/// socket option.
///
/// Cannot be used together with connect().
/// Calls to connect cannot come before calls to bind.
int sendBytes(const void* buffer, int length, int flags = 0);
/// Sends the contents of the given buffer through