X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FBSDSocketProtocol.cc;h=889da3cbe81a56928dcfcb712981bebc02ebfe37;hb=5fa6100931098291a976040efbedd094ce6bd89b;hp=fe9fd1d766dcacda118cb813710d0bcf5b2c159e;hpb=a4911c1fd3f53dc2a7bda6c1d2b00bdc4b864cff;p=senf.git diff --git a/Socket/BSDSocketProtocol.cc b/Socket/BSDSocketProtocol.cc index fe9fd1d..889da3c 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,10 @@ 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" +// compile-command: "scons -u test" +// comment-column: 40 // End: