This category includes the following APIs:
Sessions APIs control network sessions established between requesters and servers. They are used with the SHARES.H and NETCONS.H header files.
A session is a path between a requester and a server. A requester begins a session with a server the first time the requester tries to connect to a shared resource on the server. Any further connections from the requester to the other shared resources on the same server do not create another session; multiple connections can be serviced on one session.
To end a session, an application calls the NetSessionDel function. This action deletes all current connections between the requester and the server.
The NetSessionEnum function returns information about all sessions established with a server.
To obtain information about a particular session, an application calls the NetSessionGetInfo function.