Re: UDP Client/Server

2008-01-23 Thread Guilherme Polo
2008/1/23, Martin Marcher <[EMAIL PROTECTED]>: > Guilherme Polo wrote: > >> >>> class FooRequestHandler(BaseRequestHandler): > >> ... def handle(self): > >> ... data, addr_info = self.request[1].recvfrom(65534) > > > > Your FooReceiveServer subclasses UDPServer, it already handled t

Re: UDP Client/Server

2008-01-23 Thread Martin Marcher
Guilherme Polo wrote: >> >>> class FooRequestHandler(BaseRequestHandler): >> ... def handle(self): >> ... data, addr_info = self.request[1].recvfrom(65534) > > Your FooReceiveServer subclasses UDPServer, it already handled the > recvfrom for you, so, this is wrong. > hmm then why

Re: UDP Client/Server

2008-01-22 Thread Guilherme Polo
2008/1/22, Martin Marcher <[EMAIL PROTECTED]>: > Hello, > > I created a really simple udp server and protocol but I only get every 2nd > request (and thus answer just every second request). > > Maybe someone could shed some light, I'm lost in the dark(tm), sorry if this > is a bit oververbose but t

UDP Client/Server

2008-01-22 Thread Martin Marcher
Hello, I created a really simple udp server and protocol but I only get every 2nd request (and thus answer just every second request). Maybe someone could shed some light, I'm lost in the dark(tm), sorry if this is a bit oververbose but to me everything that happens here is black magic, and I hav