changed structure + fixed port in network byte order