Xamarin iOS IPv6 App Store Rejection

后端 未结 3 658
难免孤独
难免孤独 2021-01-21 23:18

We have been building a iOS app that is about Client - Server App. We are using an SQL connection and WCF web services in the iOS app with Xamarin.

SQL Connection Code :

3条回答
  •  梦谈多话
    2021-01-21 23:49

    Have it resolved? You shouldn't care about AddressFamily of device,just care about remote ip AddressFamily . IPAddress ip = IPAddress.Parse(input); Socket s = new Socket (ip.AddressFamily, SocketType.Stream, ProtocolType.Tcp); I used it, and it works.

提交回复
热议问题