sockets midpoint