Socket Programming Using Udp In Python For Loops