Nvm, got it all working, for some reason the api kept giving me an error three on the read, so I just opened a socket to nightdev instead. Will drop the code for the auto-unhost program if anyone wants it.