Enable access outside .exe

Hi,

How I can set the ExeOutput to use the LAN IP?

With it:
getHostByName(getHostName());

I can get the LAN IP.
But I can connect with it.

To compare:
With XAMPP (example) I can connect to the LAN IP (192.168.X.XXX) without any problem.

I want to know if is possible create a webserver using the LAN IP.
That is:

  • index.php

In ExeOutput I can access and using the http://192.168.X.XXX (or 192.168.X.XXX:9999) can acess the index.php too.

This will allow another device (smartphone) and another PC access to the same EXE file, without download it.
Is possible create this webserver?

ExeOutput doesn’t use a real webserver to serve files to the rendering engine. So you can’t directly connect to compiled PHP files.
However, it’s possible to build your own server application thanks to the PHP socket extension.

Have one example of it?
the Socket Extension will accept LAN connection?

I don’t understand that: http://www.exeoutput.com/HELP/howphpappliwork: “may exchange data with other networks” and “may store and retrieve data locally”, OK is possible use cURL, but it not allow “exchange” without send first.

Take a look at http://devzone.zend.com/209/writing-socket-servers-in-php/