Open hannesrauhe opened 10 years ago
Just dropping my current thoughts, because I would definitely profit from some testing facilities while developing private messages. What I would need is a "dummy lunch server" whose behavior I can manipulate. It should also contain dummy peers. For example, I would use it to simulate delayed ACK
s, receive errors or simply messages to me. Maybe it's enough to replace get_server
to return a class that can be user defined. However, this still sound like a lot of work, so I'm not sure if I will ever implement it.
What if we just replaced the socket with a queue?
With an additional plugin we could manually add messages, script message streams and trigger them.
I'm not sure whether I will be able to intercept / delay certain messages using your proposal? Is there any difference to just sending the message to yourself right now?
You can manipulate the IP.
But you are right. You cannot model responses by this.
The framework should have two purposes: