Sun Java System Web Server 7.0 Update 4 NSAPI Developer's Guide

netbuf_close() Function

The netbuf_close function deallocates a network buffer and closes its associated files. Use this function when you need to deallocate the network buffer and close the socket.

Never close the netbuf parameter in a session structure.

Syntax

void netbuf_close(netbuf *buf);

Return Values

void

Parameters

netbuf *buf is the buffer to close.

See Also

netbuf_buf2sd() Function, netbuf_getc() Function, netbuf_getbytes() Function, netbuf_grab() Function, netbuf_open() Function