Home › Forums › Support › Trouble getting started › Reply To: Trouble getting started
March 14, 2013 at 07:29
#479
Anonymous
Inactive
Hi,
This is my code (I’m using Unity3D’s own editor).
NetworkComms.DefaultSendReceiveOptions = new SendReceiveOptions();
ConnectionInfo conninfo = new ConnectionInfo(ip, System.Int32.Parse(port));
conn = new UDPConnection(conninfo, UDPOptions.None);
It’s this last line causing the grief, with the error “The type ‘NetworkCommsDotNet.UDPConnection’ does not contain a constructor that takes ‘2’ arguments”
Many thanks,
Marc