Hi everyone,

So i figure out a way to run APE locally without having to spam your
machine host file with hundreds of subdomains.

The solution relies on the fact that the whole 127.255.255.255 network
points to your local machine. Instead of adding the frequency as a
subdomain we would add it to the IP. The solution would be implemented in
the client side. So instead of generating this domains:

1.localhost:6969
2.localhost:6969
3.localhost:6969

The client framework would generate this instead:

127.0.0.1:6969
127.0.0.2:6969
127.0.0.3:6969

We would also need to track the frequency value as it can not be greater
than or equal to 255. When that limit is reached we could reset it to 1 or
increase the next subset on the network:

127.0.0.254:6969
127.0.1.1:6969
127.0.1.2:6969
...
127.0.1.254:6969
127.0.2.1:6969

Although not the real solution I already implemented it in the APS
framework in the form of a plugin. Unfortunately I dont know my way around
APE_JSF and mootools. Perhaps somone knowledgeable and interested could
implement this.

The logic to augment localhost into a unique local IP can be taken from here

https://github.com/ptejada/ApePubSub/blob/master/js/localhost-plugin.js

-- 
-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to