[riot-devel] Easy ping

Baptiste Clenet bapclenet at gmail.com
Fri Sep 23 18:21:15 CEST 2016


Yes but it's not as easy as I want (shell command)
Tell me the easiest possible function to know if an address is
reachable or not :-)

2016-09-23 17:56 GMT+02:00 Martine Lenders <mail at martine-lenders.eu>:
> Hi Baptiste,
> have you had a look at the implementation of the ping shell command?
> Another way would be to (re-)implement ping using conn_ip (or sock if
> merged). In that case, if you want it reaaaally easy you don't even
> have to implement ICMPv6 ping but can do whatever you want ;-).
>
> Cheers,
> Martine
>
> 2016-09-23 17:18 GMT+02:00 Baptiste Clenet <bapclenet at gmail.com>:
>> Hi,
>>
>> How can I easily ping a board by software (without using shell) so I
>> ping( IPV6_address) and I get -1 for error (not reachable) or 0 for
>> success?
>>
>> Cheers,
>>
>> --
>> Baptiste
>> _______________________________________________
>> devel mailing list
>> devel at riot-os.org
>> https://lists.riot-os.org/mailman/listinfo/devel
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel



-- 
Baptiste


More information about the devel mailing list