Hi...
I'm an Unity 3D Developer.
I wanna to make a small chat program via WiFi between C# program and Unity 3D.
In unity I can Create a public server by using this code :
and for Client I use this code :
what I want , by using C# , I wanna Create a server and by using Unity creating a client .
after connecting together , i want to send a text from unity and received in c# in a TextBox
- How can I Create a public Server in C# ?
Using :
Visual Studio 2013
Unity 3D 4.6 and 5.3
Thank you ...
I'm an Unity 3D Developer.
I wanna to make a small chat program via WiFi between C# program and Unity 3D.
In unity I can Create a public server by using this code :
C#:
Network.InitializeServer(numberOfPlayers,connectionPort,false); // false = Network
MasterServer.RegisterHost(Server_GameName, GameName, "");
and for Client I use this code :
C#:
Network.Connect(connectToIP, connectionPort);
what I want , by using C# , I wanna Create a server and by using Unity creating a client .
after connecting together , i want to send a text from unity and received in c# in a TextBox
- How can I Create a public Server in C# ?
Using :
Visual Studio 2013
Unity 3D 4.6 and 5.3
Thank you ...