Need to build a TCP Server to listen on 10K ports
hkhimsuriya opened this issue · comments
hkhimsuriya commented
Hi,
This looks to be a very good tool. I am in search for a solution to host a TCP server which can listen on 10+ ports to connect to a different clients. Is this package is ready to be used ?
Havij khor commented
I recommend you to take a look at this issue.
BTW, here's an example:
TcpService<MyServiceClient>.Create(x => x.AddPort(2011)
.AddPort(2012)
.AddPort(2013)
.AddPort(2014)
.AddPort(2015)
.AddPort(2016)
.AddPort(2017)
.AddPort(2018)
.AddPort(2019)
.AddPort(2020));