From: Suyash G. <gog...@gm...> - 2009-07-13 03:40:32
|
thanks norman... I will try threading option On Sun, Jul 12, 2009 at 7:58 PM, Norman Rasmussen <no...@ra...>wrote: > 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/ > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Xmpppy-devel mailing list > Xmp...@li... > https://lists.sourceforge.net/lists/listinfo/xmpppy-devel > > |