changed dirname CCSocket -> TCPSocket