From 4055fa4530231e7b920d0858ad50cf1cc4157508 Mon Sep 17 00:00:00 2001 From: ClaudiomarAraujo Date: Wed, 9 Sep 2015 14:35:56 -0300 Subject: [PATCH] Modifica IP para 0.0.0.0 --- Assets/Scripts/Server.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Server.cs b/Assets/Scripts/Server.cs index 4499d7e..8ffc595 100644 --- a/Assets/Scripts/Server.cs +++ b/Assets/Scripts/Server.cs @@ -1,4 +1,4 @@ -/********************** +/********************** ********LAVID********** *******VLibras********* *------------------------------------------------------------------------ @@ -33,7 +33,7 @@ public class Server : MonoBehaviour { public void startServer(){ try{ - IPAddress localAddr = IPAddress.Parse("127.0.0.1"); + IPAddress localAddr = IPAddress.Parse("0.0.0.0"); server = new TcpListener (localAddr, port); server.Start(); // Starts listening for incoming connection requests. client = server.AcceptTcpClient(); // Accepts a pending connection request. -- libgit2 0.21.2