mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
Update DatagramSocket.h
Updated erroneous documetation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user