recreates bidrectional sockets
recreates bidrectional sockets