socket = create_socket (); 

result, rc = exec (&_, file_name, &parameters),
{
  parameters = {
                 flags : EXEC_ASYNC_RC,
                 std : {
                         out : socket
                       }
               }
};

if (rc)
{
  listen_socket (...);
}
