XBee ZigBee gateway error "socket.error: [Errno 95] Operation not supported"

I have uploaded the example hello world script to my XBee ZigBee gateway. There’s another zigbee device nearby that I’m trying to receive data from, but the script is already failing on the bind step with the following error:

socket.error: [Errno 95] Operation not supported

Are you sure you are not running any other python programs?

Did you buy this as part of the cloud kit? If so have you disabled the xbgw_main.py?


You’re quite right, I’ve disabled the xbgw_main.py and no longer have the issue. Is there any way of making sure via the script that it can gain an exclusive socket connection?

The tutorial bind commands seem to have static values that do not work in user environments.

Make sure you identify your endpoint, profile_id, and cluster_id and replace those values in ‘sd.bind(…)’ or whatever the command happens to be.