added Option: to wait for server answer, UDP+TCP tested and working