From: Norman R. <no...@ra...> - 2009-07-12 14:29:00
|
On Sun, Jul 12, 2009 at 3:15 PM, Suyash Gogte <gog...@gm...> wrote: > I am trying to run script xtalk.py on windows, it runs well on linux but on > windows it gives following error > Error (10038, 'An operation was attempted on something that is not a > socket') > can anyone help me thanks > xtalk is trying to select the network socket and stdin, unfortunately windows doesn't support select on a non-socket so it will fail. (this is a limitation of select on windows) If you really need the xtalk script to work on windows then you could probably re-write it to make it multi threaded (one thread reading from stdin, the other from the network), or alternativaly use WSAEventSelect and WaitForMultipleObjects. -- - Norman Rasmussen - Email: no...@ra... - Home page: http://norman.rasmussen.co.za/ |