2005-06-22, 17:05
hi, i get an socket.error 10049 - "can't assign requested address" when trying to bind a socket on the xbox:
udpsock = socket(af_inet,sock_dgram)
udpsock.bind((gethostbyname(gethostname()), htons(port)))
i've tried some a great number of values for port (80, 280, 2800, 7000) but i allways get the same error.
have also tried removing the htons without any luck?
is it possible to create a server with xbmc python?
udpsock = socket(af_inet,sock_dgram)
udpsock.bind((gethostbyname(gethostname()), htons(port)))
i've tried some a great number of values for port (80, 280, 2800, 7000) but i allways get the same error.
have also tried removing the htons without any luck?
is it possible to create a server with xbmc python?