Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

jsb-udp(1) [debian man page]

JSONBOT(1)							    jsb manual								JSONBOT(1)

jsb-udp - The JSONBOT udp program SYNOPSIS
JSONBOT is a remote event-driven framework for building bots that talk JSON to each other over XMPP. jsb-udp can send txt in a udp packet to the bot which in his/her turn sends it to a channel. DESCRIPTION
Sometimes you want to have the output of a program send to a channel or conference the bot is participating in, for example logfiles (if they dont accumulate too fast). JSONBOT provides a plugin that can do this with the use of UDP packets send to the bot. This program is the client part and can be used to send txt pipelined into it to a UDP port on the listening bot. This bot will then forward the txt to the channel provided with the -p, --printto option. USAGE
Usage: jsb-udp [options] Options: --version show program's version number and exit -h, --help show this help message and exit -p PATH, --printto=PATH channel/user to print to -c CONFIGNAME, --config=CONFIGNAME Specify a config file -s, --save save to config file DOCUMENTATION
See for more documentation or SEE ALSO
jsb(1), jsb-backup(1), jsb-init(1), jsb-irc(1), jsb-xmpp(1), jsb-fleet(1), jsb-stop(1), jsonbot(1) AUTHOR
This manual page was written by Bart Thate <>, for the Debian GNU/Linux system (but may be used by others). Debian GNU/Linux 22 Nov 2011 JSONBOT(1)

Check Out this Related Man Page

udp(n)								 Tnm Tcl Extension							    udp(n)


udp - Send and receive UDP datagrams. _________________________________________________________________ DESCRIPTION
The udp command allows to send and receive datagrams using the User Datagram Protocol (UDP) (RFC 768). UDP COMMAND
udp open [port] The udp open command opens a UDP datagram socket and returns an udp handle. The socket is bound to given port number or name. An unused port number is used if the port argument is missing. udp connect host port The udp connect command opens a UDP datagram socket and connects it to a port on a remote host. A connected UDP socket only allows to send messages to a single destination. This usually allows to shorten the code since there is no need to specify the destination address for each udp send command on a connected UDP socket. The command returns a udp handle. udp send handle [host port] message The udp send command sends a datagram containing message to the destination specified by host and port. The host and port arguments may not be used if the UDP handle is already connected to a transport endpoint. If the UDP handle is not connected, you must use these optional arguments to specify the destination of the datagram. udp receive handle The udp receive command receives a datagram from the UDP socket associated with handle. This command blocks until a datagram is ready to be received. In most cases, it might be a good idea to check for pending datagrams using the udp bind command. udp close handle The udp close command closes the UDP socket associated with handle. udp bind handle readable [script] udp bind handle writable [script] The udp bind command allows to bind scripts to a UDP handle. A script is evaluated once the UDP handle becomes either readable or writable, depending on the third argument of the udp bind command. The script currently bound to a UDP handle can be retrieved by calling the udp bind command without a script argument. Bindings are removed by binding an empty string. udp info [handle] The udp info command without the handle argument returns a list of all existing UDP handles. Information about the state of a UDP handle can be obtained by supplying a valid UDP handle. The result is a list containing the source IP address, the source port, the destination IP address and the destination port. SEE ALSO
scotty(1), Tnm(n), Tcl(n) AUTHORS
Juergen Schoenwaelder <> Tnm udp(n)
Man Page

Featured Tech Videos