Peer to peer comms
| Newsgroups | gmane.network.beep.roadrunner.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Just a quick few question.
* When a Listener gets a connection hw can I get hold of that connection =
object?
* Is it possible for the listener to allow only one connection, but =
basically loop it to allow multiples?
Might help if I give an example of what I am wanting to do. I want a =
listener to be part of an object and then the initiator connects (one =
connection only). The listener obtains a connection object and then both =
parties work as peers - no one cares who initiated or listened. =
Externally I would loop waiting for new connections - possibly using =
threads from a pool.
I had a quick look through the API but could not find any thing to do =
this.
One other thing:
* What is the purpose of the IP for an Listener?
- I noticed that it does not work if the IP of the machine is given =
by does if 0.0.0.0 is given.
Thanks,
Sean