All pastes #78246 Raw Edit

b-owl

public text v1 · immutable
·published 2006-07-03 22:49 UTC
rendered paste body
	def listen(self,listen_num):
		self.lock = 1 #lock this up until we get something
		self.time = time.time()
		self.connection.listen(listen_num)
		socket, addr = self.connection.accept()
		socket.send("Welcome to bnet. The blender network project")
		self.link_status = CONNECTED
		self.lock = 0
		return socket, addr