Inject a Message onto a Channel.

3 views
Skip to first unread message

Eamorr

unread,
Nov 27, 2009, 9:14:54 AM11/27/09
to meteorserver
Greetings,

I'm new to this meteor server.

Could anyone tell me how to send the following via the command line:

ADDMESSAGE test hello world

I don't want to have to send it via putty's RAW interface.

Andrew Betts

unread,
Jan 12, 2010, 6:09:50 AM1/12/10
to meteorserver
Hi Eamorr,

If you're using a unix-like system with a bash shell and you have
netcat installed, you could do this:

echo "ADDMESSAGE test hello world" | nc 127.0.0.1 4671

But there's almost certainly a socket implementation in whatever
programming environment your application is written in, and you should
probably use that in preference to running commands on the shell.

Andrew

Reply all
Reply to author
Forward
0 new messages