Ok, I tried this: function Main() SKT=wx.wxSocketClient() SKT:Connect(wx.wxIPV4address("192.168.1.2:4006"),true) end
It gives an 'invalid argument' error... I've seen a lot like this and I'm tired of fumbling inanely in the dark! This NEEDS a working example. It doesn't matter if it's posted by someone who hasn't worked extensively with sockets, you only have to have done it successfully once! Until such a working example is forthcoming, I shall take my own advice, the same as I give all others who come this way looking as I did: Forget it! Use third part commandline tools like WGET, called either synchronously or asynchronously by wxExecute() and be done with this. If someone cares to diagree with me on this I expect them to prove that wxLua on Windows is a viable method for direct use of sockets, and that means providing working code! ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users