Export to GitHub

jcoap - issue #1

retrieve ip address of response's sender


Posted on May 12, 2011 by Helpful Rabbit

Hi,

i would like to have a simple way to retrieve the ip address of a response's sender. Maybe i'm wrong, but i used jcoap that way :

I have a class that use a ChannelManager : I have some URI, and i get a ClientChannel for each URI.

I register my class as a Listener for each Channel, and send messages.

My problem is to retreive IP sender of received response.

Is it better to implement a method to get IP address ? or is it better to have many listener, one for each channel (in that case, of cause, i know the address) ?

I think it's still an issue, because i want some day use Jcoap on multicast address to discover devices.. So i will send to a multicast address, and want to get ip address of response's sender).

Thanks for your answer.

Status: New

Labels:
Type-Defect Priority-Medium