X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FGenericAddressingPolicy.cc;h=92c7ac5dbf107deec89147688e07f72b95966419;hb=9a988902090d28007578e93bffd809f6bd913155;hp=abb99f5759bcb12d25cb5dfae8409192b2cb5d60;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Socket/GenericAddressingPolicy.cc b/Socket/GenericAddressingPolicy.cc index abb99f5..92c7ac5 100644 --- a/Socket/GenericAddressingPolicy.cc +++ b/Socket/GenericAddressingPolicy.cc @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2006 +// Copyright (C) 2006 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) // Stefan Bund @@ -20,7 +20,9 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// Definition of non-inline non-template functions +/** \file + \brief GenericAddressingPolicy non-inline non-template implementation + */ #include "GenericAddressingPolicy.hh" //#include "GenericAddressingPolicy.ih" @@ -34,7 +36,7 @@ #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// -prefix_ void satcom::lib::GenericAddressingPolicy_Base::do_local(FileHandle handle, +prefix_ void senf::GenericAddressingPolicy_Base::do_local(FileHandle handle, struct sockaddr * addr, unsigned len) { @@ -42,7 +44,7 @@ prefix_ void satcom::lib::GenericAddressingPolicy_Base::do_local(FileHandle hand throw SystemException(errno); } -prefix_ void satcom::lib::GenericAddressingPolicy_Base::do_peer(FileHandle handle, +prefix_ void senf::GenericAddressingPolicy_Base::do_peer(FileHandle handle, struct sockaddr * addr, unsigned len) { @@ -50,7 +52,7 @@ prefix_ void satcom::lib::GenericAddressingPolicy_Base::do_peer(FileHandle handl throw SystemException(errno); } -prefix_ void satcom::lib::GenericAddressingPolicy_Base::do_bind(FileHandle handle, +prefix_ void senf::GenericAddressingPolicy_Base::do_bind(FileHandle handle, struct sockaddr const * addr, unsigned len) { @@ -58,12 +60,12 @@ prefix_ void satcom::lib::GenericAddressingPolicy_Base::do_bind(FileHandle handl throw SystemException(errno); } -prefix_ void satcom::lib::GenericAddressingPolicy_Base::do_connect(FileHandle handle, +prefix_ void senf::GenericAddressingPolicy_Base::do_connect(FileHandle handle, struct sockaddr const * addr, unsigned len) { while(1) { - if (::connect(handle.fd(),addr,len) < 0) + if (::connect(handle.fd(),addr,len) < 0) switch (errno) { case EINPROGRESS: { handle.waitWriteable(); @@ -92,5 +94,8 @@ prefix_ void satcom::lib::GenericAddressingPolicy_Base::do_connect(FileHandle ha // Local Variables: // mode: c++ -// c-file-style: "satcom" +// fill-column: 100 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" // End: