Author: PiranhaPiranha
Date: Feb 13, 2008 00:35
I´m using WinInet to connect client applications to a server, which is
no real server but some simple php scripts on my homepage.
That works just fine, but causes a huge server load due high refresh
rates.
My question is now, if 2 clients connect to the server, is there a way
to connect the clients directly with one another?
Without the server, the clients can´t see each other, because most of
them are firewalled, so the server in between is needed to make the
connection and since it is no real connection but only a php script,
the clients keep reconnecting and refreshing their data, meaning the
server has to store all data and relay it to other clients upon their
next login.
The idea is, once a client has connected, the server might be able to
relay not the data, but the connection itself, so the clients could
exchange their data directly, I just have no clue if that´s possible
and if yes, how that might work.
Basically I need a miniature version of P2P network, but I don´t even
know where to start looking to figure out a solution.
Can someone help me getting started?
|