mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-01 14:55:56 +01:00
removed Unbound constructor
This commit is contained in:
parent
86657f38f4
commit
b30c4eccbe
@ -33,11 +33,6 @@ class Net_API DatagramSocket: public Socket
|
||||
/// UDP stream socket.
|
||||
{
|
||||
public:
|
||||
enum Unbound
|
||||
{
|
||||
SOCKET_CREATE_UNBOUND
|
||||
};
|
||||
|
||||
DatagramSocket();
|
||||
/// Creates an unconnected, unbound datagram socket.
|
||||
///
|
||||
@ -48,10 +43,6 @@ public:
|
||||
/// in release 2.0. Previously, the constructor created
|
||||
/// an unbound IPv4 datagram socket.
|
||||
|
||||
//@ deprecated
|
||||
explicit DatagramSocket(Unbound unbound);
|
||||
/// Creates an unconnected, unbound datagram socket.
|
||||
|
||||
explicit DatagramSocket(SocketAddress::Family family);
|
||||
/// Creates an unconnected datagram socket.
|
||||
///
|
||||
|
@ -50,10 +50,6 @@ public:
|
||||
/// in release 2.0. Previously, the constructor created
|
||||
/// an unbound IPv4 multicast socket.
|
||||
|
||||
//@ deprecated
|
||||
explicit MulticastSocket(Unbound unbound);
|
||||
/// Creates an unconnected, unbound multicast datagram socket.
|
||||
|
||||
explicit MulticastSocket(SocketAddress::Family family);
|
||||
/// Creates an unconnected datagram socket.
|
||||
///
|
||||
|
@ -31,11 +31,6 @@ DatagramSocket::DatagramSocket(): Socket(new DatagramSocketImpl)
|
||||
}
|
||||
|
||||
|
||||
DatagramSocket::DatagramSocket(Unbound): Socket(new DatagramSocketImpl)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
DatagramSocket::DatagramSocket(SocketAddress::Family family): Socket(new DatagramSocketImpl(family))
|
||||
{
|
||||
}
|
||||
|
@ -53,11 +53,6 @@ MulticastSocket::MulticastSocket()
|
||||
}
|
||||
|
||||
|
||||
MulticastSocket::MulticastSocket(Unbound unbound): DatagramSocket()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
MulticastSocket::MulticastSocket(SocketAddress::Family family): DatagramSocket(family)
|
||||
{
|
||||
#if defined(POCO_OS_FAMILY_UNIX)
|
||||
|
Loading…
x
Reference in New Issue
Block a user