Netbuf_Close; Netbuf_Getc - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

NSAPI Functions (in Alphabetical Order)
Syntax
int netbuf_buf2sd(netbuf *buf, SYS_NETFD sd, int len);
Returns
The number of bytes transferred to the socket, if successful or the constant
IO_ERROR
Parameters
netbuf *buf
SYS_NETFD sd
int len
See also

netbuf_close

netbuf_close
The
files. Use this function when you need to deallocate the network buffer and close
the socket.
You should never close the
Syntax
void netbuf_close(netbuf *buf);
Returns
void
Parameters
netbuf *buf
See also
netbuf_buf2sd

netbuf_getc

The
network buffer specified by
Syntax
netbuf_getc(netbuf b);
152
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
if unsuccessful
is the buffer to send.
is the platform-independent identifier of the socket.
is the length of the buffer.
,
netbuf_getc, netbuf_grab
function deallocates a network buffer and closes its associated
netbuf_close
is the buffer to close.
,
netbuf_getc, netbuf_grab
function retrieves a character from the cursor position of the
netbuf_getc
,
netbuf_open
parameter in a Session structure.
netbuf
,
netbuf_open
.
b

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents