@property<EOL><INDENT>def socket(self):<DEDENT>
if not hasattr(self, '<STR_LIT>'):<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>return self._socket<EOL>
Returns the socket after checking it has been created