Design of the Fake Server Library

Other versions of this page are also available for the following:

  • Windows Embedded CE 6.0 R3

8/27/2008

The fake server library is a native code component that enables communication with the sockets. It starts a listener thread on the specified port and binds both the IPv6 and IPv4 interfaces to it. When it receives a connection from a client, it spawns a new thread to handle the connection. Upon receiving the data from the socket it invokes the callback with the data that was received. It also passes in a fake response interface pointer in the callback function used by the callers to set the response to be sent over the socket. The callback function is invoked inline in the context of the connection thread. When the callback function returns the data is sent over the socket to the client.

The fake server library exposes its interfaces in an IDL file that applications can use. The structures and interfaces exposed by the IDL are described below

In This Section

See Also

Other Resources

Local Server Framework