hmm yeah that should have worked, will look into it when I get more time.
EDIT: Just took a quick look. I don't translate the IP (ASCII ip to ip number), so that's why it doesn't work, will fix it next time, fairly trivial issue (string parsing...) .