#NEWLINE# def startProtocol( self ) : #NEWLINE# #INDENT# host = '192.168.1.1' #NEWLINE# port = 1234 #NEWLINE# self . transport . connect ( host , port ) #NEWLINE# print ( ( 'now we can only send to host %s port %d' % ( host , self ) ) ) #NEWLINE# self . transport . write ( b'hello' )