From: g0dil Date: Tue, 12 Feb 2008 15:35:00 +0000 (+0000) Subject: Socket: Update Protocols.dia diagram X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=f4b4a2e2e83b1ecceeae69efb8fa3d6e85a95d6f;p=senf.git Socket: Update Protocols.dia diagram git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@690 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Socket/Protocols.dia b/Socket/Protocols.dia index 481d593..9cd03fa 100644 Binary files a/Socket/Protocols.dia and b/Socket/Protocols.dia differ diff --git a/Socket/Protocols/INet/INet6Address.hh b/Socket/Protocols/INet/INet6Address.hh index 1ab1f9b..68aaeae 100644 --- a/Socket/Protocols/INet/INet6Address.hh +++ b/Socket/Protocols/INet/INet6Address.hh @@ -108,7 +108,7 @@ namespace senf { \code INet6Address ina = ...; Packet::iterator i = ...; - std::copy(ina.begin(), ina.end(), i); + std::copy(ina.begin(), ina.end(), i); // Copies 16 bytes \endcode \see CheckINet6Network \n INet6Network diff --git a/Socket/ReadWritePolicy.cti b/Socket/ReadWritePolicy.cti index 3ff2606..36e2f52 100644 --- a/Socket/ReadWritePolicy.cti +++ b/Socket/ReadWritePolicy.cti @@ -38,7 +38,7 @@ readfrom(ClientSocketHandle handle, char * buffer, unsigned size, typename SPolicy::AddressingPolicy::Address & address, typename IfCommunicationPolicyIs::type *) { - return do_rcvfrom(handle, buffer, size, address.sockaddr_p(), address.sockaddr_len()); + return do_readfrom(handle, buffer, size, address.sockaddr_p(), address.sockaddr_len()); } #else template diff --git a/Socket/SocketProtocol.hh b/Socket/SocketProtocol.hh index ef4f22d..587970a 100644 --- a/Socket/SocketProtocol.hh +++ b/Socket/SocketProtocol.hh @@ -33,20 +33,19 @@ /** \defgroup protocol_group The Protocol Classes \htmlonly - - SocketPolicy - ConcreteSocketProtocol - SocketProtocol - BSDSocketProtocol - AddressableBSDSocketProtocol - IPv4SocketProtocol - IPv6SocketProtocol - TCPSocketProtocol - TCPv4SocketProtocol - TCPv6SocketProtocol - PacketSocketProtocol + + SocketProtocol + UNSocketProtocol + PacketSocketProtocol + ConcreteSocketProtocol + BSDSocketProtocol + DatagramSocketProtocol + TCPSocketProtocol + UNDatagramSocketProtocol + AddressableBSDSocketProtocol + TCPv4SocketProtocol - Protocols + Protocols \endhtmlonly The socket handle classes and templates only implement the most important socket API methods