#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    49
    Rep Power
    11

    python program as a service on a port??


    Hi All,

    is it possible for a python program to function as a service on a designated port?

    Basically, I would like my python program to run as a service on a designated port. When someone Telnets to this port, the program will run the netstat command and return the resulting info to the user at the other end of the port.

    Can anyone point me in the right direction please.
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    This came up a little while ago: the answer is yes. Here's a link to your other thread on this subject in case you lost track of it.

    http://forums.devshed.com/t225036/s.html&highlight=netstat

    Mark.
    programming language development: www.netytan.com Hula


IMN logo majestic logo threadwatch logo seochat tools logo