Thread: Network format
View Single Post
  #3  
Old 10-23-2009, 10:29 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The data that is transmitted by Vizard is pickled using the cPickle module. To get access to the data on your end you can use the following code:
Code:
data = cPickle.loads(rawData)
The variable data should be a tuple containing:
  1. The senders computer name
  2. A tuple containing the positional data from the <network>.send() command
  3. A dictionary containing keyword data from the <network>.send() command
Reply With Quote