Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

UDP communication fail using iPhone's personal hotspot
Started by royshen Jun 26 2018 08:34 PM

2 replies to this topic
udp hotspot broadcast
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

royshen

[GLOBAL: userInfoPane.html]
royshen
  • Observer

  • 2 posts
  • Corona SDK

The Application--

 

  I have an IOS application built by Corona, that broadcasts and multicasts its presence onto the network it is running on. The application works flawlessly when the iPhone is connected to a Wi-Fi network. In this case, other devices on the network receive the broadcasts/multicasts, and everything functions correctly.

 

Needless to say, the application works well on an iPhone connected to a local Wi-Fi.

The Problem--

  When I run the application on an iPhone that has its personal hotspot enabled, no broadcasts/multicasts are released onto the hotspot network.  

 Is there any constraint regarding using a personal hotspot as a network router capable of handling broadcasts and multicasts? 

In summary--

Can anyone explain why an iPhone running a personal hotspot does not broadcast/multicast packets, and how to solve the problem?

Many thanks in advance.

 

 

 



[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,380 posts
  • Corona SDK

Have you hunted on the Web?  This is a pretty specialized question.

 

A Google search for 'iphone personal hotspot udp' turned up this: 

 

https://apple.stackexchange.com/questions/175139/network-broadcast-multicast-not-sent-by-iphone-in-personal-hotspot-mode



[TOPIC: post.html]
#3

royshen

[GLOBAL: userInfoPane.html]
royshen
  • Observer

  • 2 posts
  • Corona SDK

This topic I had read, and I had tried those methods posted didn't work.

 

About that topic, I have tried that I sent message to all the other possible addresses in the subnet (172.20.10.2 - 172.20.10.14). It didn't work.

 

And another way is C++ code, corona sdk don't have its some coefficients about UDP setting.

 

I  am still very confused about this problem...

 

 

Please excuse my poor English




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: udp, hotspot, broadcast