[JDEV] Scripting Jabber - Clear Communication in Scripts ?
Ralph Siemsen
ralphs at blueairnetworks.com
Tue Jul 22 13:11:57 CDT 2003
Josiah Ritchie wrote:
> My questions:
> Is there another way to communicate with jabberd or other servers in a way that
> is easily script-able? ssh? Or is it possible to write one server side script
> for socket and then write a mini-tutorial telling others how to work with it to
> write scripts and get around the telnet issue. Is there a better solution to
> all of this?
Instead of telnet, you want to look at netcat, the "TCP/IP Swiss Army
Knife". http://netcat.sourceforge.net/ and almost certainly already
packaged (usually as "nc") for your favourite linux distribution.
It essentially differs from telnet in that there is no terminal type
negotiation (good for jabber testing) and that it keeps the connection
open until you explicitly kill it or a specified timeout.
-R
More information about the JDev
mailing list