Local Network Stream Interface

DESCRIPTION

Local network stream interface enables two or more processes to communicate with each other in the local machine using the local network. The interface provides a form of interprocess communication (IPC) using network sockets (TCP).

Since the implementation uses real TCP network socket the listener can be used for any TCP communication, however connections may be estalished only from the local machine. The connections use the loopback network.

EXAMPLE

 // Create listener
 listener = silc_local_net_create_listener("/tmp/conn1", 0, schedule,
                                           accept_callback, ctx);

 // Connect to the listener
 silc_local_net_connect("/tmp/conn1", schedule, connected_callback, ctx);

 // Close listener
 silc_local_net_close_listener(listener);

TABLE OF CONTENTS