AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     Socket descriptor
     R1 =     Pointer to data to be sent
     R2 =     Size of buffer
     R3 =     Flags
<=     R0 =     Amount of data sent

This call sends data on a socket. In the case of datagram and raw sockets, a single datagram containing the data will be sent, and EMSGSIZE will be returned if the data is too large to be sent in this way. For stream sockets, the call will block until all the data has been sent, unless the socket has been marked non-blocking, in which case as much data as possible will be sent.

Because this call does not specify the address to send to, the socket used for this call must be a connected socket.

C definition     SWI definition

[sh-index] Back to list of manuals