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

Bound to other IP-Addresses #28

Closed
irinil opened this issue Jul 28, 2020 · 1 comment
Closed

Bound to other IP-Addresses #28

irinil opened this issue Jul 28, 2020 · 1 comment

Comments

@irinil
Copy link
Contributor

irinil commented Jul 28, 2020

Hello,

I created a new method for the server. With this method you can bind other ip addresses in the same network and not only with localhost.

public CoapServerBuilderForUdp transport(InetAddress address,int port) { transport(new DatagramSocketTransport(new InetSocketAddress(address,port))); return this; }

If you find it useful I can make a pull request. If this feature exists already (for example with the CoapTransport) and you think is not necessary please let me know!

Thank you for your time!

@szysas
Copy link
Contributor

szysas commented Sep 21, 2020

Hi @irinil,
If you feel that it's needed, please make a pull request.
(Sorry for late reply)

@szysas szysas closed this as completed Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants