|
|
|
|
|
by arsome
1211 days ago
|
|
Ah, on the client side not the server, makes sense. I was doing the math as the full IP + port, which would offer 48 bits, but with only one client IP you really only have a client port to play with and you must bind as long as the connection remains open. |
|
> The client side has similar settings but does not need to set up multiple IP addresses, obviously
Also as I know, Linux will only use one IP for outbound connections, unless forcefully bind to another IP address in the code.
The server only uses only one port. 9001 according to the code. https://github.com/uNetworking/uWebSockets.js/blob/875f16e1f...
This blog post does not make any sense.