XBox DHCP functionality
#1
Sad 
hello,

i'm working on a script that requires a mobile xbox running xbmc to renew it's ip address via dhcp whenever it changes wireless zones. this needs to be done without having to reset the system.

what class/library allows for this, if any?  i've searched and the only thing i've come up with is a method to read the already received ip address.  i've examined the souce code for xbmc and found the xnetstartup function which initializes the networking.  is this exposed/usable via python?  if so, how do i use it?

i would appreciate any assistance,

shadowsprite
Reply
#2
it is not currently explosed but it wouldnt be too difficult to add.
if you wish to add the functionality you can make the change to
xbmc/xbmc/xbmc/lib/libpython/xbmcmodule/xbmcmodule.cpp
and submit a patch to sourceforge.
Reply
#3
Question 
asteron, thank you for the tip on where to change the code to add this feature. i will work on it as soon as i can and sumbit a patch as suggested.
Reply

Logout Mark Read Team Forum Stats Members Help
XBox DHCP functionality0