On Sat, Oct 17, 2009 at 6:42 AM, lostgallifreyan
<lostgallifre...@gmail.com> wrote:
> I've Googled for examples of sockets used in wxLua, with very little result. 
> I'm using W98, so I hope that isn't a problem as it doesn't do 'raw sockets' 
> as I've seen them called, like WXP does. As wxLua is cross-platform, I'm 
> guessing this isn't a problem for W98.

Don't know about Win 98.

> Anyway, it seems the best thing to ask for is something simple, a template I 
> can adapt. The two main purposes I can immediately think of are a GET method 
> to fetch a web page so I can filter it and save it to file, then use 
> wx.execute() to ask a browser to display it. An ideal extension of this would 
> be a local web proxy that the brower would reach on 127.0.0.1. This proxy 
> would be entirely written in wxLua and intercept the external input fetched 
> from a server, and filter it as I want, so the browser then shows it as I 
> need.

Try to look for wxSocket examples. wxLua wraps all of these classes
and they send wxEvents containing the network data. I have not used
them extensively.

http://docs.wxwidgets.org/stable/wx_wxsocketclient.html#wxsocketclient
http://wiki.wxwidgets.org/WxSocket

Regards,
    John

------------------------------------------------------------------------------
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

Reply via email to