View Single Post
  #2  
Old 11-27-2016, 04:42 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,465
What is printed out when you run the following?

Code:
import viz
import viznet

viz.go()

myNetwork=viz.addNetwork('192.168.1.2')

def onNetwork(e):
	if isinstance(e,viz.RawNetworkEvent):
		print 'data', e.raw_data
		print 'address', e.address
		print 'port', e.port

viz.callback(viz.NETWORK_EVENT,onNetwork)
Reply With Quote