[lug] simple server?

Chip Atkinson chip at pupman.com
Sun Jan 2 03:30:25 MST 2000


There's a perl version available too.  You can look in the Perl Cookbook.
I'd type it in for you but the book's at work.  I tested it on NT and it
even works there.

Chip

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Chip Atkinson 
 http://www.pupman.com 
 --- If I can't fix it, I can fix it so it can't be fixed --
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

On Thu, 30 Dec 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? 
> 
> Or something similar?
> 
> 
> Robert
> 
> 
> :wq!
> ---------------------------------------------------------------------------
> Robert L. Harris                |  Low quality in a product happens.
> Senior System Engineer          |    That doesn't mean it's right and
>   at RnD Consulting.		|      and defintely doesn't mean it should
>                                  \_      be accepted.  Require quality.
> 
> http://www.rnd-consulting.com/~nomad
> 
> DISCLAIMER:
>       These are MY OPINIONS ALONE.  I speak for no-one else.
> 
> FYI:
>  perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 






More information about the LUG mailing list