Methods in sockets?