IPX/SPX Programming Manual

Library Routines
HP NonStop IPX/SPX Programming Manual528022-001
5-61
socket_get_len
socket_get_len
The socket_get_len function returns the number of bytes sent following a
sendto_nw or send_nw2 call.
bytes_sent
is the number of bytes sent from a sendto_nw call or a send_nw2 call.
socket
is the socket specified in the prior sendto_nw or send_nw2 call.
Errors
There are no errors returned by this call.
Usage Guideline
Use socket_get_len after a call to AWAITIOX and before a subsequent call to
AWAITIOX.
C Synopsis
#include <socket.h>
#include <nv.h>
bytes_sent = socket_get_len(socket);
int bytes_sent, socket;
TAL Synopsis
?NOLIST, SOURCE SOCKPROC
bytes_sent := socket_get_len(socket);
INT bytes_sent,
socket;