NAME server - create a simple server with stdin/stdout filter SYNOPSIS server [-eioqs] port ["command [args ...]"] yaegashi [-eioqs] port ["command [args ...]"] DESCRIPTION The server command is used to create a simple server. Server waits for a new TCP connection at port, and exe- cutes command as a child process with connecting its stdin/stdout to the incoming TCP connection. Options are: -e Connect stderr to an incoming TCP connection. -s Does not connect stdin nor stdout to an incoming TCP connection. If command are omitted, server goes into a manual server mode. In this case the following options are also avail- able. -i Close a TCP connection when a client send EOF. -o Keep a TCP connection when the server send EOF. -q Quiet mode. The yaegashi command is identical with server, but the name dictincts itself from the older version and emphasize IPv6 awareness. ENVIRONMENT Server sets environment variables for child processes as follows. SERVER_SOFTWARE "server/1.01" SERVER_NAME name of the server host. SERVER_PORT port of the server. SERVER_SOCKET file descriptor of the connected socket. REMOTE_HOST name of the peer host. REMOTE_ADDR numeric dot notation of the address of the peer host. REMOTE_PORT port of the peer. SEE ALSO connect(1), relay(1) NOTES The current implementation of a manual server mode is incomplete. AUTHOR YAEGASHI Takeshi NAKAMURA Takayuki Information about new releases and other related issues can be found from the italk project home page at http://italk.sourceforge.net/ YAEGASHI/TAKESHI May 14, 2000 2