mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
Update DatagramSocket.h
Updated erroneous documetation
This commit is contained in:
parent
87f1d0f940
commit
7d0d04ea45
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user