Re: sending more then 2 messages at a time to a SocketServer fails

2011-11-01 Thread Tamer Higazi
Am 01.11.2011 17:13, schrieb Miki Tebeka: > MKTest.getObj(data[0]) will return the same object on every call(with the > same data that was initialized 1'st time). Any Daten parameter after the 1'st > call is ignored. Not true! The singleton object has nothing todo. Here one more example for you

Re: sending more then 2 messages at a time to a SocketServer fails

2011-11-01 Thread MRAB
On 01/11/2011 15:07, MrSmile wrote: Hi people! I have asked myself why I am not capable sending 2 messages a time to a Socketserver. Why is that?! Here the Server: import SocketServer from ast import literal_eval class MKTest(object): DSX = [] MKTestInst = None def __init__(se

Re: sending more then 2 messages at a time to a SocketServer fails

2011-11-01 Thread Miki Tebeka
MKTest.getObj(data[0]) will return the same object on every call(with the same data that was initialized 1'st time). Any Daten parameter after the 1'st call is ignored. -- http://mail.python.org/mailman/listinfo/python-list

sending more then 2 messages at a time to a SocketServer fails

2011-11-01 Thread MrSmile
Hi people! I have asked myself why I am not capable sending 2 messages a time to a Socketserver. Why is that?! Here the Server: import SocketServer from ast import literal_eval class MKTest(object): DSX = [] MKTestInst = None def __init__(self,Daten): MKTest.DSX.append(Date