X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FBSDSocketProtocol.cc;h=07201cf5fba961cf8ee7d71bbb01877f9dc5220e;hb=bf0359f0d094233072c9640abeb72464a0719305;hp=fe9fd1d766dcacda118cb813710d0bcf5b2c159e;hpb=a4911c1fd3f53dc2a7bda6c1d2b00bdc4b864cff;p=senf.git diff --git a/Socket/BSDSocketProtocol.cc b/Socket/BSDSocketProtocol.cc index fe9fd1d..07201cf 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 @@ -60,11 +60,6 @@ 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.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); @@ -98,5 +93,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: