Is there more code related to the socket? Especially one related to writing to it?