I called InitUDP after join room successfully. But when I call SmartFox.send using true as its last parameter, it failed.
error as below:
NullReferenceException: Object reference not set to an instance of an object
Sfs2X.Bitswarm.BitSwarmClient.NextUdpPacketId ()
I figure out what's going on. I used InitUDP() method instead of InitUDP(serverName, serverPort), which cause that error.
sorry guys.
NullReferenceException when send packet using UDP
NullReferenceException when send packet using UDP
Last edited by kevinjee on 28 Sep 2011, 04:44, edited 1 time in total.
Who is online
Users browsing this forum: Stevenor and 35 guests