Right now the system is hardcoded to start two servers - a TCP server and a UDT server. Each of these each starts a client type - a TCP client and UDT client. Currently, this is done because there is no argument parsing being done to select the types at runtime.
Ideally, each instance of nydus should only start one server type and one client type. Each of these should be specified at runtime. The server should be given a host and port to listen on, and the client should be given a host and port to which it will forward traffic.
Right now the system is hardcoded to start two servers - a TCP server and a UDT server. Each of these each starts a client type - a TCP client and UDT client. Currently, this is done because there is no argument parsing being done to select the types at runtime.
Ideally, each instance of nydus should only start one server type and one client type. Each of these should be specified at runtime. The server should be given a host and port to listen on, and the client should be given a host and port to which it will forward traffic.