ConnMaker interface

This interface has one method:

make_conn(int import_count, object[] exports) -> (file_descriptor, object[])

This creates a new connection on which the objects in the "exports" array are exported. It returns a file descriptor for the new connection. The new connection also imports import_count objects. The method call returns these object references in an array.

This is mostly used with import_count = 0.

This is used, for example, by PlashGlibc when doing a fork(): The parent process creates a new connection to the ServerProcess, and hands the socket file descriptor for the connection to the child process.

ConnMaker (last edited 2007-10-10 21:00:56 by MarkSeaborn)