Home > Software engineering >  Consult the problems do port forwarding in the C
Consult the problems do port forwarding in the C

Time:11-12

The client A
Need to design the transit server B
Real server C

A, B, B to intercept certain packet, the rest of the packet is sent to C

Received after C is returned to the B, how to determine which this package sent to the client?

Thank each great god, I really have no points, thank you!!!!!!!!!!

CodePudding user response:

Communication protocol is doing? When you design the package should contain these conditions, or that end of the call charge package

CodePudding user response:

You design problem, generally the only id what of,

CodePudding user response:

refer to the second floor smwhotjay response:
you design problem, generally the only id what of,

This is the case, the service side C may be another's program is not my
So can't..

CodePudding user response:

To make B NAT, the packets do mapping (IP + port), forward on the basis of mapping rules

CodePudding user response:

Maintain A Map, the client record A and C,

CodePudding user response:

If it is a TCP,
B at the time of C connections, which corresponds to A record this connection.
  • Related