Opening network connections to clients

5 views
Skip to first unread message

Shan Hollen

unread,
May 16, 2012, 6:29:33 PM5/16/12
to MOO-...@googlegroups.com
How do I go about opening a connection so I can communicate with a
player client?

I tried using "open_network_connection (player IP, player connection
port)," but I get an invalid arg, which the manual explains happens
because "the host does not exist, the port does not exist, the host
is not reachable or refused the connection."

Thanks.

-Shan

Matthew Walker

unread,
May 16, 2012, 6:31:10 PM5/16/12
to Shan Hollen, moo-...@googlegroups.com
The client has to initiate the connection. They could be (and probably are) behind a
firewall. Nor is their client likely listening for a connection anyway.
> --
> You received this message because you are subscribed to the Google Groups "MOO Talk"
> group.
> To post to this group, send email to MOO-...@googlegroups.com.
> To unsubscribe from this group, send email to MOO-talk+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/MOO-talk?hl=en.
>
>


--
Matthew Walker HAM Call Sign: N7TOX
Kydance Hosting & Consulting, Inc. - http://www.kydance.net/
PHP, Perl, and Web Development - Linux Server Administration

Todd Sundsted

unread,
May 16, 2012, 7:34:23 PM5/16/12
to MOO Talk
Can you connect to the client from the command line using something
like telnet?

Todd

Tim van Dijen

unread,
May 16, 2012, 8:49:39 PM5/16/12
to MOO-...@googlegroups.com
MOO can communicate with a client through MOO Client Protocol (MCP)..
It uses out-of-band-commands.
You can read more about it at http://www.awns.com/mcp/ and a bit on
oob-commands in the Lambdamoo programmer's manual

Goblin
Reply all
Reply to author
Forward
0 new messages