# HG changeset patch # User David Demelier # Date 1466766035 -7200 # Node ID 72390061044de50e4b693cfbc334071493662f82 # Parent a1841ba6eb618d8513f22278228f8cc18a1ae56e Net: improve documentation a bit diff -r a1841ba6eb61 -r 72390061044d modules/net/net.hpp --- a/modules/net/net.hpp Thu Jun 23 13:50:27 2016 +0200 +++ b/modules/net/net.hpp Fri Jun 24 13:00:35 2016 +0200 @@ -371,8 +371,8 @@ * * ## Throws * - * - **WouldBlockError**: if the operation would block, - * - **Error**: on other error. + * - \a net::WouldBlockError: if the operation would block, + * - \a net::Error: on other error. * * # accept * @@ -393,8 +393,8 @@ * * ## Throws * - * - **WouldBlockError**: if the operation would block, - * - **Error**: on other error. + * - net::WouldBlockError: if the operation would block, + * - net::Error: on other error. * * # recv * @@ -415,6 +415,11 @@ * * The number of bytes sent. * + * ## Throws + * + * - net::WouldBlockError: if the operation would block, + * - net::Error: on other error. + * * # send * * Send data. @@ -433,6 +438,11 @@ * ## Returns * * The number of bytes sent. + * + * ## Throws + * + * - net::WouldBlockError: if the operation would block, + * - net::Error: on other error. */ /** @@ -476,6 +486,11 @@ * * The number of bytes received. * + * ## Throws + * + * - net::WouldBlockError: if the operation would block, + * - net::Error: on other error. + * * # sendto * * ```` @@ -493,6 +508,11 @@ * ## Returns * * The number of bytes sent. + * + * ## Throws + * + * - net::WouldBlockError: if the operation would block, + * - net::Error: on other error. */ /*