Create Public Server ?

fadi

New member
Joined
Dec 22, 2015
Messages
2
Programming Experience
1-3
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 :
Code:
Network.InitializeServer(numberOfPlayers,connectionPort,false); // false = Network
MasterServer.RegisterHost(Server_GameName, GameName, "");
and for Client I use this code :
Code:
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 ...
 
Top Bottom