Share via


AllJoyn Named Pipe Transport API

This API describes the named pipe transport, which ised instead of TCP/IP in order to implement brokered loopback connectivity to the router node in AllJoyn. It is the router node's responsibility to implement appropriate policies to restrict an app from talking directly to each other or to arbitrary desktop apps.

This API is public in order to allow code we contribute to the AllJoyn SDK (distributed through the AllSeen Alliance) to call this API. It is not expected to be used directly by developers, but is expected to be used by apps that compile using the AllJoyn SDK.

In this section

Topic Description
AllJoynConnectToBus Opens the AllJoyn Router Node Service named pipe, and sets it to PIPE_NOWAIT.
AllJoynCloseBusHandle Closes the Named Pipe handle.
AllJoynSendToBus Sends data to the bus via named pipe. The caller of this API is responsible to check if the bytesTransferred is less than the requested bytes and call this API again to resend the rest of the data.
AllJoynReceiveFromBus Receives data from the bus via named pipe.
AllJoynEventSelect Provides AllJoyn transport functionality similar to the TCP socket WSAEventSelect functionality.
AllJoynEnumEvents Provides AllJoyn transport functionality similar to the TCP socket WSAEnumNetworkEvents functionality.