You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using the example code posted on the README,
var listenPort = 11011;
var receiver = new UdpSocketReceiver();
receiver.MessageReceived += (sender, args) =>
{
// get the remote endpoint details and convert the received data into a string
var from = String.Format("{0}:{1}", args.RemoteAddress, args.RemotePort);
var data = Encoding.UTF8.GetString(args.ByteData, 0, args.ByteData.Length);
Debug.WriteLine("{0} - {1}", from, data);
};
// listen for udp traffic on listenPort
await receiver.StartListeningAsync(listenPort);
and I cannot receive data via iPhone on iOS 10.1.1, but it works with Android, did I do anything wrong?
The text was updated successfully, but these errors were encountered:
Can you talk more about your setup? e.g. - are you using iOS device or simulator? what network is the device/simulator running on? what are you sending the udp packets from and what network is that device on? If another computer, is it inside a vm?
I am using iPhone 6s and iPhone 7, it is running on a router, basically computer <-> router <-> phones. Not using a VM, it works with Android phones, but not iOS.
Hi, I am using the example code posted on the README,
and I cannot receive data via iPhone on iOS 10.1.1, but it works with Android, did I do anything wrong?
The text was updated successfully, but these errors were encountered: