Home > Software engineering >  Questions about the WFP agent transport, a great god help the younger brother
Questions about the WFP agent transport, a great god help the younger brother

Time:11-17

Ask agent principle: A program in the kernel modify IP and port to the agent B, B program links SOCKET5.
After:
A -- -- -- -- -- the send - & gt; B -- -- -- -- -- the send - & gt; SCOKET5
A<-- -- -- -- -- recv - B<-- -- -- -- -- recv - SCOKET5
Does this mean?


1, B program open server 127.0.0.1 60001,
2, A remote application link, save link IP and port, after modification, such as: 127.0.0.1 60001 links to B program,
3 B program reads A program before save remote IP port, began to link socket5,
B program has both A program (A's client) and SOCKET5 service side (B) the link socket
4, when A program has instructions to send, after the send to B, B program again send give SOCKET5
5, when when A command is sent to A remote server, B program received first, then B program to send A program,

This is reasonable? Or those steps can be omitted?

Heard that don't need to B program, directly in the kernel agent, only have a little complicated, isn't it?

CodePudding user response:

I think this is feasible and, of course, just think that is feasible and practical can also hope the great god directions,
There is a problem: if possible, in so doing, the effect how? Will there be delayed?
  • Related