]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/BsdSocketLib/send.c
Update the sockets library code
[mirror_edk2.git] / StdLib / BsdSocketLib / send.c
index 0bbed5ac33dfb40184aa731ef8b6b701ab5c12f0..439d8081c199c220819b84dd462a6c5cf62d76cf 100644 (file)
 /**\r
   Send data using a network connection.\r
 \r
-  The ::send routine queues data to the network for transmission.\r
+  The send routine queues data to the network for transmission.\r
+  This routine is typically used for SOCK_STREAM sockets where the target\r
+  system was specified in the ::connect call.\r
+\r
   The\r
   <a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/send.html">POSIX</a>\r
   documentation is available online.\r
@@ -31,9 +34,9 @@
 \r
   @param [in] flags     Message control flags\r
 \r
-  @return     ::send returns the number of data bytes that were\r
+  @return     This routine returns the number of data bytes that were\r
               sent and -1 when an error occurs.  In the case of\r
-              an error, errno contains more details.\r
+              an error, ::errno contains more details.\r
 \r
  **/\r
 ssize_t\r