- Code: Select all
public GameCode(){
this.ScheduleCallback(OnTimedEvent, 25);
}
public void OnTimedEvent()
{
Console.WriteLine("Hello World!");
}
GameCode is a constructor.
I get the error: SocketConnection.ReceivedBytes ERROR: Exception has been thrown by the target of an invocation., Appdomain: Test Server.vshost.exe
when i try to connect to it.
Any ideas?