making the pedantic gcc happy
removed unused parameter of internal get_udp_socket()