tiny-csgo-server
tiny-csgo-server copied to clipboard
Binding to selected IP
Is it possible to bind server to only one, selected IP address? I've read this, which suggests it's not possible.
I have never tried to bind a specific ip address when using socket. But there are many other implementations that can have the same effect. If the os level can't correctly apply the address and port filter, you can just write your own filter in the program.
You can also try to initialize this endpoint with a specific address to see if this can restrict the receiving address. https://github.com/yourmnbbn/tiny-csgo-server/blob/570610583ed1cfdc75fb3119681dd02acffb4de0/src/server.hpp#L87