Re: ./EuGTK/GtkEngine.e to Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...

What's the purpose of getting the ip address though? Just checking for a live internet connectino is different from getting the ip to host a public webserver or something, which is different again from hosting a local fileserver that's not visible beyon the local lan, etc etc. Maybe I'm not understanding the scope here.

My first reason for adding this function was so that I could use Eu to serve selected directories (music, mostly) to other wireless devices (phone, tablet, etc) via a wireless router - which has no internet connection. I needed the ip address so I could then assign a port: 8080, or whatever. See webserver.ex.

The second reason was so that I could avoid starting a browser and presenting the 'cannot connect' web page when someone clicks on a web link in a label or button. See test101.ex. More friendly to just pop up a message explaining that you can't get there from here.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu