Write a datagram to a remote computer.
- TRUE if all the bytes were sucessfully written.
Data to be written as URGENT TCP data. |
Number of bytes pointed to by buf#. |
Address to which the datagram is sent. |
Port to which the datagram is sent. |
Definition at line 1266 of file winsock.cxx.
References PSocket::Host2Net(), and PChannel::lastWriteCount.
lastWriteCount = 0;
sip.sa_family = AF_IPX;
sip.sa_socket = Host2Net(port);
return os_sendto(buf, len, 0, (struct sockaddr *)&sip, sizeof(sip));