Use socket module to provide an IPC mechanism.