X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FTCPSocketHandle.hh;h=47163b05132c001f6a40c7f530425517eaadb588;hb=e9230af25004d2e3eb041778afc493c5b300c43b;hp=f94e4399293f8a3f03c158146ba745109c3dd43d;hpb=9ca82f3198ce01fa2daf50aa8f46e0eb630d275c;p=senf.git diff --git a/Socket/TCPSocketHandle.hh b/Socket/TCPSocketHandle.hh index f94e439..47163b0 100644 --- a/Socket/TCPSocketHandle.hh +++ b/Socket/TCPSocketHandle.hh @@ -168,6 +168,7 @@ namespace senf { public BSDSocketProtocol, public AddressableBSDSocketProtocol { + public: /////////////////////////////////////////////////////////////////////////// // internal interface @@ -178,7 +179,7 @@ namespace senf { /**< \note This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - void init_client(INet4Address const & address) const; + void init_client(INet6SocketAddress const & address) const; ///< Create client socket and connect /**< Creates a new client socket and connects to the given address. @@ -191,7 +192,7 @@ namespace senf { /**< \note This member is implicitly called from the ProtocolServerSocketHandle::ProtocolServerSocketHandle() constructor */ - void init_server(INet4Address const & address, unsigned backlog=1) const; + void init_server(INet6SocketAddress const & address, unsigned backlog=1) const; ///< Create server socket and listen /**< Creates a new server socket, binds to \a address end starts listening for new connections with a backlog of