[lug] simple server?
Jeffrey B. Siegal
jbs at quiotix.com
Thu Dec 30 15:58:10 MST 1999
"Robert L. Harris" wrote:
> I'm digging into some socket work. Does anyone have a very simple
> script that basically listens on a port (i.e. 7777 ) and waits for
> a client connect, or connects out of inetd. Once connected the
> server sends a "hellow how are you" waits on a "I'm fine" and
> responds with a "good, have a nice day" and then hangs up?
netcat doesn't do exactly what you want, but it is similar. At the very least
you could modify the source code as required. Take a look.
More information about the LUG
mailing list