// $Id:ServerSocketHandle.hh 218 2007-03-20 14:39:32Z tho $
//
// Copyright (C) 2006
-// Fraunhofer Institute for Open Communication Systems (FOKUS)
-// Competence Center NETwork research (NET), St. Augustin, GERMANY
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Stefan Bund <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
*/
typedef typename boost::call_traits<Address>::param_type AddressParam;
/// Corresponding client socket handle with the same policy
- typedef ClientSocketHandle<SPolicy> ClientSocketHandle;
+ typedef ClientSocketHandle<SPolicy> ClientHandle;
///////////////////////////////////////////////////////////////////////////
///\name Structors and default members
\returns handle of new client connection
*/
- ClientSocketHandle
- accept ();
- std::pair<ClientSocketHandle, Address>
+ ClientHandle accept ();
+ std::pair<ClientHandle, Address>
acceptfrom (); ///< Accept new connection
/**< This variant will additionally return the remote
address of the client
\returns \c std::pair with client handle and client
address.
\see \ref accept() */
- ClientSocketHandle
- acceptfrom (Address & addr);
+ ClientHandle acceptfrom (Address & addr);
///< Accept new connection
/**< This variant will additionally return the remote
address of the client