X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FCommunicationPolicy.cc;h=d67a92369b8fefd17fa155ea3d0eba916afc8d68;hb=81ffa1c459b96dd44472bcef37e1e373934ee138;hp=8523966ef7895bb97520961962f8ec8bd98ad6be;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Socket/CommunicationPolicy.cc b/Socket/CommunicationPolicy.cc index 8523966..d67a923 100644 --- a/Socket/CommunicationPolicy.cc +++ b/Socket/CommunicationPolicy.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 CommunicationPolicy non-inline non-template implementation + */ #include "CommunicationPolicy.hh" //#include "CommunicationPolicy.ih" @@ -36,13 +38,13 @@ #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// -prefix_ void satcom::lib::ConnectedCommunicationPolicy::listen(FileHandle handle, - unsigned backlog) +prefix_ void senf::ConnectedCommunicationPolicy::do_listen(FileHandle handle, + unsigned backlog) { ::listen(handle.fd(),backlog); } -prefix_ int satcom::lib::ConnectedCommunicationPolicy::do_accept(FileHandle handle, +prefix_ int senf::ConnectedCommunicationPolicy::do_accept(FileHandle handle, struct sockaddr * addr, unsigned len) { @@ -53,7 +55,6 @@ prefix_ int satcom::lib::ConnectedCommunicationPolicy::do_accept(FileHandle hand switch (errno) { case EWOULDBLOCK: return -1; - break; case EINTR: break; default: @@ -70,5 +71,10 @@ prefix_ int satcom::lib::ConnectedCommunicationPolicy::do_accept(FileHandle hand // Local Variables: // mode: c++ -// c-file-style: "satcom" +// fill-column: 100 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: