Problem with socket.AF_ZIGBEE

Hi Digi Team,

I have a problem with the socket of zigbee, I set the socket in this form because I saw this confiuration in others examples:

Zigbee_Socket = socket(socket.AF_ZIGBEE, socket.SOCK_DGRAM, socket.ZBS_PROT_TRANSPORT)
Zigbee_Socket.bind((“”, 0xE8, 0, 0))

but on the DigiPython ESP software application when I set the run the python file, this show me the following error:

Configuracion del sokect ZIGBEE
Traceback (most recent call last):
File “WEB/python/”, line 14, in ?
execfile(os.path.join(os.path.abspath(‘.’), ‘’))
File “WEB/python/”, line 197, in ?
File “WEB/python/”, line 41, in main
Zigbee_Socket = socket(socket.AF_ZIGBEE, socket.SOCK_DGRAM, socket.ZBS_PROT_TRANSPOR
AttributeError: type object ‘_socketobject’ has no attribute ‘AF_ZIGBEE’

but I don’t understand because, I imported the zigbee library in the begin of the file.

Can you help me with this problem? :s

Thanks Team!

Please see this link which has the newer AF_XBEE.