Quote:
keep in mind that your port or ip should not contain a \x00, which could break it
. "If your IP contains a zero like 192.168.0.1 or your port contains a zero like 80, the shellcode will likely fail when you use it with a remote exploit".
No you wrong, you look very confused with the 0 values.
0x00 or 0\00 is not the same as "0", they are 2 different beasts.
With better knowledge of Assembler, you would know that they are unrelated.