Beispiel #1
0
	def sendPingResponse(self, addr):
		print "[Birthday Reminder] sending ping response to", addr[0]
		reactor.connectTCP(addr[0], 7374, TransferClientFactory(self, "pong"))
Beispiel #2
0
	def requestBirthdayList(self, addr):
		print "[Birthday Reminder] requesting birthday list from", addr[0]
		reactor.connectTCP(addr[0], 7374, TransferClientFactory(self, "requestingList"))