George Gallen on 10 Nov 2004 21:49:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] setting up a socket service...


I want to setup a socket service.

The program just needs to listen on a port#, when
  a connection is established (can only be one at a time) it needs to 
  run a command locally, then send back the results of that command.

How do setup xinetd to run the program on command.

I thought about just having a program just listen, do when connected, release, repeat
but if the program stops running, obviously the service stops as well.

George



George Gallen
Senior Programmer/Analyst
Accounting/Data Division
ggallen@slackinc.com
ph:856.848.1000 Ext 220

SLACK Incorporated - An innovative information, education and management company
http://www.slackinc.com

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug