TCP/IP Programming Manual
There is out-of-band data pending. This must be cleared with a call to recv_nw with the
MSG_OOB flag set.
EHAVEOOB
There is out-of-band data pending. This must be cleared with a call to recv_nw with the
MSG_OOB flag set.
EHAVEOOB
Usage Guidelines
See Nowait Call Errors (page 86) for information on checking errors.
Example
See UDP Client Program (page 219) for an example that calls send.
send64_
The send64_ function sends data on a connected socket for waited operations.
C Synopsis
#include <socket.h>
#include <netdb.h>
nsent = send64_ (socket, buffer_ptr, buffer_length, flags);
int nsent, socket;
char _ptr64 *buffer_ptr64;
int buffer_length, flags;
TAL Synopsis
?NOLIST, SOURCE SOCKDEFT
?NOLIST, SOURCE SOCKPROC
nsent := send64_ (socket, buffer_ptr64, buffer_length, flags);
INT(32) nsent,
socket;
STRING .EXT64 buffer_ptr64;
INT(32) buffer_length,
flags;
nsent
return value; specifies the number of bytes sent.
If the call is not successful, —1 is returned and the external variable errno is set as shown in
Errors (page 169).
socket
input value; specifies the socket number for the socket, as returned by the call to socket.
buffer_ptr64
input value; points to the data to be sent.
buffer_length
input value; the size of the buffer pointed to by buffer_ptr64.
168 Library Routines