I'm trying to use a module for iOS support for UDP, found here:
I copied the zip file - chrisfjones-titanium_module_udp-fa36dec.zip - to Library/Application Support/Titanium and also added this to my tiapp.xml:
<modules> <module version="0.2">chrisfjones.titanium_module_udp</module> </modules>For sending a udp message, I have the following code:
var udp = require('chrisfjones.titanium_module_udp'); var socket = udp.createUDP(); socket.send("hi", "10.10.11.110", 6100);Which gives me this error:
Couldn't find module: chrisfjones.titanium_module_udp
When I run the project, it unzips the zip in Library/Application Support/Titanium, however it doesn't copy anything to Library/Application Support/Titanium/modules/osx. Any idea what I'm missing? I'm using iOS 4.2 with the latest 1.8 CI build.
Try to download the packaged binary instead of the github project:
This should do the magic.
try this... i think this link will give you best understanding..
Think you can help? Login to answer this question!