View Single Post
Old 03-16-2004, 12:14 AM   #9 (permalink)
inkedmn
Registered User
 
Join Date: Mar 2004
Location: Fullerton, CA
Posts: 26
inkedmn is on a distinguished road
Send a message via AIM to inkedmn
sockets would easily be the best idea here, especially since you don't even have to write the different pieces in the same language.

connecting to a server via sockets in python is easy as pie:

Code:
import socket

s = socket.socket(AF_INET, SOCK_STREAM)
s.connect((hostname, portnumber))
s.write("some data\n")
s.read(1024)  #bytes sent back from the server
s.close()
it really is that easy. and having a python socket listen on a specific port is just as easy...
inkedmn is offline   Reply With Quote