X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FServerSocketHandle.hh;h=235b5903e3484c414d82d21d2a006ebfb0c052b1;hb=81f84badf27b66dbadec9890646ca1193e998505;hp=a123698cb9646a87b348e2b30727e5410347a055;hpb=c778649a04a9835ecaad9108b9613832d76c2d15;p=senf.git diff --git a/Socket/ServerSocketHandle.hh b/Socket/ServerSocketHandle.hh index a123698..235b590 100644 --- a/Socket/ServerSocketHandle.hh +++ b/Socket/ServerSocketHandle.hh @@ -1,8 +1,8 @@ // $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 // // This program is free software; you can redistribute it and/or modify @@ -24,8 +24,8 @@ \brief ServerSocketHandle public header */ -#ifndef HH_ServerSocketHandle_ -#define HH_ServerSocketHandle_ 1 +#ifndef HH_SENF_Socket_ServerSocketHandle_ +#define HH_SENF_Socket_ServerSocketHandle_ 1 // Custom includes #include @@ -90,7 +90,7 @@ namespace senf { */ typedef typename boost::call_traits
::param_type AddressParam; /// Corresponding client socket handle with the same policy - typedef ClientSocketHandle ClientSocketHandle; + typedef ClientSocketHandle ClientHandle; /////////////////////////////////////////////////////////////////////////// ///\name Structors and default members @@ -171,17 +171,15 @@ namespace senf { \returns handle of new client connection */ - ClientSocketHandle - accept (); - std::pair + ClientHandle accept (); + std::pair 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