Update DatagramSocket.h

Updated erroneous documetation
This commit is contained in:
Alvin M. 2014-11-06 10:16:37 -05:00
parent 87f1d0f940
commit 7d0d04ea45

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 bind must come before calls to connect if used on the same socket.
int sendBytes(const void* buffer, int length, int flags = 0);
/// Sends the contents of the given buffer through