X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=net.c;h=49026db0ec91a7b4a1d3d0917723720eb8d0ba30;hp=9b58e22539e8277c674425f689d1f3c261c2d48a;hb=08be831b7b7e3e55d862eb988a604ccbde603403;hpb=5ff2b0b3a6f9242033c436fb8272245f5594dd8c diff --git a/net.c b/net.c index 9b58e225..49026db0 100644 --- a/net.c +++ b/net.c @@ -578,10 +578,12 @@ static inline int estimated_header_overhead(const int af_type) /** * Get the maximum transport-layer message size (MMS_S). * - * The socket must be connected. See RFC 1122, 3.3.3. + * \param sockfd The socket file descriptor. * - * \return If the protocol familiy could not be determined, \p AF_INET is - * assumed. + * The socket must be connected. See RFC 1122, 3.3.3. If the protocol familiy + * could not be determined, \p AF_INET is assumed. + * + * \return The maximum message size of the address family type. */ int generic_max_transport_msg_size(int sockfd) {