]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/BsdSocketLib/send.c
BeagleBoardPkg: Remove use of IntelFrameworkModulePkg legacy libs
[mirror_edk2.git] / StdLib / BsdSocketLib / send.c
index f3f739cb6f41d8eebf7fd35f03a5dec5d087c658..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
   @param [in] s         Socket file descriptor returned from ::socket.\r
 \r
   @param [in] buffer    Address of a buffer containing the data to send.\r
-    \r
+\r
   @param [in] length    Length of the buffer in bytes.\r
 \r
   @param [in] flags     Message control flags\r
 \r
-  @returns    ::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