Converted from udp to tcp, a bit laggy but working