MurphyMarkW / c-nydus

A proxy server that translates between TCP and UDT.
MIT License
0 stars 0 forks source link

Should start one client and one server type per instance. #5

Open MurphyMarkW opened 9 years ago

MurphyMarkW commented 9 years ago

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.