Merge pull request #598 from WesternStar/develop

Correcting erroneous documentation in raw socket and datagram socket
This commit is contained in:
Günter Obiltschnig 2014-11-07 09:43:47 +01:00
commit 54883cf47f
2 changed files with 4 additions and 4 deletions

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

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