ios - Ping multiple host/ips objective C -


i want list of ip's connected in same wifi network .

i manually trying ping ip range 0-255 based on allocated ip address , taking long time ping status. there optimised function library in objective c or c this?

any appreciated.

thanks, tushar sapkale

try pinging broadcast address or use multicast socket.

join multicast group first creating multicast socket desired port, invoking joinmulticastgroup method. when message send multicast group subscribing members receive message.

you can refer stackoverflow link


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -