X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FBSDSocketProtocol.cc;h=20afd8a89c70cdcd718400a5f85ce08f19d20bfc;hb=9a988902090d28007578e93bffd809f6bd913155;hp=bb595ac3ce7dac166cd82bd6dc373130bad1a584;hpb=ac6a813d9d99f7add4e13aff7a4bcd314d5604a6;p=senf.git diff --git a/Socket/BSDSocketProtocol.cc b/Socket/BSDSocketProtocol.cc index bb595ac..20afd8a 100644 --- a/Socket/BSDSocketProtocol.cc +++ b/Socket/BSDSocketProtocol.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,8 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// Definition of non-inline non-template functions +/** \file + \brief BSDSocketProtocol non-inline non-template implementation */ #include "BSDSocketProtocol.hh" //#include "BSDSocketProtocol.ih" @@ -59,8 +60,11 @@ prefix_ void senf::BSDSocketProtocol::linger(bool enable, unsigned timeout) prefix_ struct timeval senf::BSDSocketProtocol::timestamp() const { - // BUG: Check, why this fails with ENOFILE (!!!!) at least when - // called from a tcp socket. Further investigation necessary ... + /** \bug Check, why this fails with ENOFILE (!!!!) at least when + called from a tcp socket.Maybe this is only available for + datagram sockets ? That could make sense from the description + (what is the last packet passed to the user on a stream + socket?) Further investigation necessary ... */ struct timeval tv; if (::ioctl(body().fd(), SIOCGSTAMP, &tv) < 0) throw SystemException(errno); @@ -94,5 +98,8 @@ prefix_ void senf::AddressableBSDSocketProtocol::reuseaddr(bool value) // Local Variables: // mode: c++ +// fill-column: 100 // c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" // End: