|
|
@ -9,8 +9,8 @@ using UnityEngine; |
|
|
|
|
|
|
|
|
|
|
|
public class SocketServer : MonoBehaviour |
|
|
|
public class SocketServer : MonoBehaviour |
|
|
|
{ |
|
|
|
{ |
|
|
|
int _port = 6000; |
|
|
|
int _port = 20000; |
|
|
|
string _ip = "127.0.0.1"; |
|
|
|
string _ip = "192.168.1.41"; |
|
|
|
Thread thread; |
|
|
|
Thread thread; |
|
|
|
|
|
|
|
|
|
|
|
void Start() |
|
|
|
void Start() |
|
|
|