Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retrieve ip address of response's sender #1

Open
GoogleCodeExporter opened this issue Aug 18, 2015 · 0 comments
Open

retrieve ip address of response's sender #1

GoogleCodeExporter opened this issue Aug 18, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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.

Original issue reported on code.google.com by [email protected] on 12 May 2011 at 9:44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant