1

I'm trying to implement NetBIOS discovery on an iOS device, but it seems that the NetBIOS ports (137, 138) are blocked by the iOS. Is there a programmatic way to open a UDP/TCP port in the firewall on an iOS device? Thanks!

Armen H.
  • 21
  • 1
  • 3
  • Just listen on those ports inside of an iOS app that you make. There is no firewall; the device just isn't listening to those ports. https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/NetworkingTopics/Articles/UsingSocketsandSocketStreams.html#//apple_ref/doc/uid/CH73-SW9 – Andrew Larsson Jan 11 '17 at 23:42
  • Thanks Andrew! I'll give it a try. – Armen H. Jan 12 '17 at 03:39
  • Also, there are probably easier ways to listen to ports than the examples in the Apple documentation. I've seen a few decent ones here on StackOverflow. – Andrew Larsson Jan 12 '17 at 05:24

0 Answers0