#1
|
|||
|
|||
Creating packets for viz.net
Hi all,
I need to send data to vizard, prefferably in a manner that will trigger a NETWORK_EVENT so that I can use a callback to process the data. I have successfully setup network comm between two computers running vizard, very easy actually, but I need to setup network comm between vizard and a different platform, specifically from an apple iPad. I have successfully connected from the iPad to the vizard udp socket waiting at port 4950 but cannot get the NETWORK_EVENT to actually be called. The problem, I believe is that vizard expects the udp packet to be in a specific format, so that variables and the like can be extracted out from the packet. What I need to know, and wondering if someone knows the answer, is how to format the data in the udp packet so that vizard will successfully parse the packet and fire a NETWORK_EVENT Any help would be greatly appreciated, Thanks, Dan |
#2
|
|||
|
|||
The udp packets are encoded using the Python pickle module. I would recommend using the socket module instead, and handling the raw data yourself. The following post contains sample code for doing this:
http://forum.worldviz.com/showthread.php?t=1126 |
Tags |
data, format, network, socket, udp |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating a loop to switch between menu pages | RodRSpv | Vizard | 1 | 03-02-2009 02:19 PM |
Help With Creating Menus and Buttons for a Chess Game | RodRSpv | Vizard | 1 | 02-27-2009 02:12 PM |
Creating a road | Saz | Vizard | 3 | 11-14-2008 03:45 AM |
creating avatar animation class? | Vbents | Vizard | 1 | 01-18-2006 10:34 AM |
PeopleMaker - creating morphs | vjonshih | Vizard | 4 | 01-02-2005 04:30 PM |