Socket_Sendto - sendto()
In: R0 = Socket descriptor
R1 = Pointer to data to be sent
R2 = Size of buffer
R3 = Flags
R4 = Pointer to address to send to
R5 = Size of supplied address block
Out: R0 = Amount of data sent
This call performs the same job as Socket_Send, except that the remote address is specified so that it can be used on unconnected sockets. This call is only useful for sockets that do not require a connection such as those using the UDP protocol. For sockets that require a connection such as those using the TCP protocol, you need to call Socket_Connect before you can use this routine, and the address given to this call is then ignored anyway.
|
|
|