making more like c udp