jchristn / SuperSimpleTcp

Simple wrapper for TCP client and server in C# with SSL support
MIT License
459 stars 95 forks source link

multiple IP address #197

Closed FreeVB closed 1 year ago

FreeVB commented 1 year ago

Does it support listening on multiple IP address levels at the same time? For example, listen to all available IP addresses on the server at the same time. For example: _Server = new SimpleTcpServer(new IPHost[] { new(7001), new(8089) })

FreeVB commented 1 year ago

The client can connect to any IP address on the server, such as 192.168.1.10, 8089, 216.16.XX.XX, 8089

One of the two IPs is a local area network IP and the other is an Internet IP。

jchristn commented 1 year ago

The library does not. You'll need to start multiple instances of the server to do that.