X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=StdLib%2FBsdSocketLib%2Fsend.c;fp=StdLib%2FBsdSocketLib%2Fsend.c;h=439d8081c199c220819b84dd462a6c5cf62d76cf;hp=0bbed5ac33dfb40184aa731ef8b6b701ab5c12f0;hb=a88c31639bb24c73383a4528a5b77066e805148b;hpb=df7499fcc1fbd6c825cabf19bbed379688416125 diff --git a/StdLib/BsdSocketLib/send.c b/StdLib/BsdSocketLib/send.c index 0bbed5ac33..439d8081c1 100644 --- a/StdLib/BsdSocketLib/send.c +++ b/StdLib/BsdSocketLib/send.c @@ -18,7 +18,10 @@ /** Send data using a network connection. - The ::send routine queues data to the network for transmission. + The send routine queues data to the network for transmission. + This routine is typically used for SOCK_STREAM sockets where the target + system was specified in the ::connect call. + The POSIX documentation is available online. @@ -31,9 +34,9 @@ @param [in] flags Message control flags - @return ::send returns the number of data bytes that were + @return This routine returns the number of data bytes that were sent and -1 when an error occurs. In the case of - an error, errno contains more details. + an error, ::errno contains more details. **/ ssize_t