Commit for the socket