X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FBSDSocketProtocol.cc;h=fe9fd1d766dcacda118cb813710d0bcf5b2c159e;hb=a4911c1fd3f53dc2a7bda6c1d2b00bdc4b864cff;hp=d8f5163f8d0cdf2704cd42ebc7c18857887d20da;hpb=032707d24b1059febe83ce56b11fd79df106c6e2;p=senf.git diff --git a/Socket/BSDSocketProtocol.cc b/Socket/BSDSocketProtocol.cc index d8f5163..fe9fd1d 100644 --- a/Socket/BSDSocketProtocol.cc +++ b/Socket/BSDSocketProtocol.cc @@ -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" @@ -60,7 +61,10 @@ 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 ... */ + 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);