removed Unbound constructor

This commit is contained in:
Guenter Obiltschnig 2016-02-28 23:39:18 +01:00
parent 86657f38f4
commit b30c4eccbe
4 changed files with 0 additions and 23 deletions

View File

@ -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.
///

View File

@ -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.
///

View File

@ -31,11 +31,6 @@ DatagramSocket::DatagramSocket(): Socket(new DatagramSocketImpl)
}
DatagramSocket::DatagramSocket(Unbound): Socket(new DatagramSocketImpl)
{
}
DatagramSocket::DatagramSocket(SocketAddress::Family family): Socket(new DatagramSocketImpl(family))
{
}

View File

@ -53,11 +53,6 @@ MulticastSocket::MulticastSocket()
}
MulticastSocket::MulticastSocket(Unbound unbound): DatagramSocket()
{
}
MulticastSocket::MulticastSocket(SocketAddress::Family family): DatagramSocket(family)
{
#if defined(POCO_OS_FAMILY_UNIX)