I have a quick question on uNet networking.
I would like for a server to start listening on a specific int serverPort and int serverIP.
but when I create my method as shown here:
public void ServerStart( int serverPort, int serverIP)
{
NetworkServer.Listen(serverPort, serverIP);
}
I get the error: cannot convert from int to matchinfo.
but I want the server to listen without using the matchmaking system in uNet, so I don’t want to pass matchinfo as a parameter, yet unity sees serverPort as a MatchInfo parameter.
Could you help me on this matter?
Thanks in advance!