handly todo in sockets