Update to tcp/udp socket interfaces