Wont go after 1st if

lol, ok x.x; I guess I have to rewrite my code for TCP now o.o;