본문 바로가기

Unity

Starting TCP by Unity (1) - Server

I'm going to make a server with C# first then make Client with Unity to connect to the Server.

So let's make Server part first.

https://github.com/SoftwareDevJake/TCPServer

 

GitHub - SoftwareDevJake/TCPServer

Contribute to SoftwareDevJake/TCPServer development by creating an account on GitHub.

github.com

Get files from about by using "git clone"

After you get all of them, just simply open ConsoleApp1.sin then it's ready.

Example of max palyer and port number

As above, put numbers for max players and port number.

Then just run it then it's ready!

Successful execution example