Posts: 707
Joined: Jul 2004
Reputation:
6
Hi,
Since the version of 04-01-2007, I have some errors with the socket library. With a simple test of a system server/multi-client, when I try to receive the message of a client, I have the error: "socket operation on non-socket". Do you have any idea of the reason and a solution? Here is a simple program which didn't work with version post 04/01/2007
It works on PC !
Thanks
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
I've mentioned this, if you are saying it works on the Xbox with all versions and doesn't work on the PC with the latest?
It started happening around the time of either the proxy patch or when there were some socket changes.
Posts: 3,805
Joined: Mar 2004
Reputation:
3
elupus
Team-XBMC Developer
Posts: 3,805
He says oposite thou :
still there could be something odd going on there.
Posts: 707
Joined: Jul 2004
Reputation:
6
I may clarify a bit...
The problem is only on xbmc plateform (not on XBMC for PC, only with python on my PC)
Posts: 3,805
Joined: Mar 2004
Reputation:
3
elupus
Team-XBMC Developer
Posts: 3,805
ok. some operation is returning an invalid index. not entirely sure what it could be. will try to figure it out.
Posts: 707
Joined: Jul 2004
Reputation:
6
I made some tests. When I print the socket object, I got nothing returned on xbmc (on pc I got something like '<socket._socketobject object at 0x00E20720>'
And when I try to print the result of the accept I have nothing again. This can explain the invalid index.
Does the socket library use the winsock dll?
I hope this can help