On 22/12/2010 22:34, Stefan Sonnenberg-Carstens wrote:
Sorry, this one is cross post.
I posted my question below some time ago to then jython ml, because this
hit me first with jython.
Anyway, time passed, problem not solved.
So, I'd like to know if some of you know where my error lies:
[snip]
mine from the past.
It's a toy http server:
import socket
import select
import sys
import time
srv = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
srv.setblocking(0)
srv.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,True) # Not sure if
this is needed. I only remember I've started