Fork a SocketServer on NT
guy.theisen at isp.lu
Thu Nov 15 13:46:04 CET 2001
I'm trying to fork a SocketServer on NT. But I don't know how to do
this. The os.fork doesn't work on NT. I have this example from the
Echo_server.py in O'Reilly book "Python for Win32".
serversock = socket(AF_INET, SOCK_STREAM)
print 'socket listening for connections...'
handlersock, addr = serversock.accept()
#now do something with the handler socket
print 'SocketServer connected by', addr
data = handlersock.recv(1024)
print 'SocketServer closed ...'
Can anyone show me how to solve this .....
thanks for any help,
More information about the Python-list