TCP connections: Only listen to localhost, not all interfaces

This commit is contained in:
Morten Minde Neergaard 2022-11-01 15:30:30 +01:00 committed by blinry
parent 290798d774
commit 00d940fb86
4 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@ func _ready():
start()
func start():
_s.listen(port)
_s.listen(port, "127.0.0.1")
func _process(_delta):
if _s.is_connection_available():