Fixed tcp and udp garbage compilation