Block remapping or unmapping code mappings
[nativeclient.git] / intermodule_comm / README
blob2634f57e1b278725635236beb80cd319bcbd9e0f
1 This directory contains files relating to the Native Client
2 Inter-Module Communication (IMC) Library.
5 The following steps are the typical way to setup a connection between
6 server and client processes:
8 1) The server creates a BoundSocket() on an address and waits for messages on
9    it using ReceiveDatagram(), that expects a single handle passed in.
10 2) The client calls SocketPair() to create a pair of connected sockets, and
11    calls SendDatagramTo() passing one end of the socket pair in the handle list
12    to connect to the server.
13 3) The server uses the handle it received as the handle to the client
14    connection.
15 4) Client and server can now communicate through the socket pair.