Oracle iPlanet Web Proxy Server 4.0.14 NSAPI Developer's Guide

session_create

The session_create function creates a new Session structure for the client with a specified socket descriptor and a specified socket address. The function returns a pointer to that structure.

Syntax

#include <base/session.h>
Session *session_create(SYS_NETFD csd, struct sockaddr_in *sac);

Returns

Parameters

SYS_NETFD csd is the platform-independent socket descriptor.

sockaddr_in *sac is the socket address.

See Also

session_maxdns