Server Transport Functions

The server transport functions handle binding and unbinding of transports to and from the server and redirector, and also enumerate the transports used by a component. The server transport functions are:

NetServerTransportAdd
NetServerTransportDel
NetServerTransportEnum

The server transport functions deal with transports managed by the server, and the workstation transport functions deal with transports managed by the redirector. The NetServerTransportAdd function allows the user to bind the transport to the server. The NetServerTransportDel function allows the user to unbind the server from the transport.

The NetServerTransportAdd and NetServerTransportDel functions respectively bind or unbind the transport to the server. File sharing between the transport device and the server has two components: the server running on the computer that has the files, and an SMB client that accesses the files. The client computer communicates to the server computer over a local area network using a transport protocol (like TCP, NetBEUI , XNS.) and sends requests to the server computer to retrieve bits and pieces of files. The piece of software on the client computer generating the file requests is called the redirector because it is redirecting local file requests to the server computer. The piece of software on the server computer receiving and acting on these file requests is called the server because it is serving the clients. The format specific to these requests is called the Server Message Block (SMB) protocol.

The NetServerTransportEnum function enumerates the transports that are managed by the server.

The NetWkstaTransport functions perform equivalent operations for the workstation. The workstation transport function are:

NetWkstaTransportAdd
NetWkstaTransportDel
NetWkstaTransportEnum

Server transport functions are available at one information level: SERVER_TRANSPORT_INFO_0

Workstation transport functions are available at one information level: WKSTA_TRANSPORT_INFO_0