cpp9844
asked on
Simulating TCP tranportation!?
hi all,
I'd like to make a simulation of TCP transportation.
Suppose there are two hosts,A and B. A connects to B and performs data transportation(in application layer, we may use TELNET,SMTP...)
Another hosts C is available, which is located between A and B to catch all packets between them.
Now, C starts to simulate A(C has all packets between A and B):connect
to B and then perform the transportation!
How do u think of it?:)
Of course, there are many details! If data's one-way, it is not pretty hard, i think. But for two-way data, for instance, TELNET command, i cannot imagine...
any good idea?
Thanks!
I'd like to make a simulation of TCP transportation.
Suppose there are two hosts,A and B. A connects to B and performs data transportation(in application layer, we may use TELNET,SMTP...)
Another hosts C is available, which is located between A and B to catch all packets between them.
Now, C starts to simulate A(C has all packets between A and B):connect
to B and then perform the transportation!
How do u think of it?:)
Of course, there are many details! If data's one-way, it is not pretty hard, i think. But for two-way data, for instance, TELNET command, i cannot imagine...
any good idea?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'll try it
Another solution: since we just send the DATA of packets we capture,
we can send the data in SOCKET layer(use write/read, or recv/send),
the speed control of send is not easy, I think, but is possible.
How do u think of it?
thanks!