Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

getaddrinfo issues #18

Open
arietis opened this issue Apr 8, 2015 · 4 comments
Open

getaddrinfo issues #18

arietis opened this issue Apr 8, 2015 · 4 comments

Comments

@arietis
Copy link

arietis commented Apr 8, 2015

Hello!
I'm trying to get addresses using such code:

DNSSD::Service.getaddrinfo(reply.target, 1) { |addrinfo| ... } 

and the program never reach the 'do end' block. It worked fine in 2.x branch. But 2.x is incompatible with 3.x so i removed '.new' part. What am i doing wrong now? :)
Thanks!

@tenderlove
Copy link
Owner

If you add sleep at the end of your program, does it output anything?

@arietis
Copy link
Author

arietis commented Apr 12, 2015

No, it doesn't output anything.

@arietis
Copy link
Author

arietis commented May 18, 2015

Hello!
Could you assist me with this issue please? It still doesn't works.

@arietis
Copy link
Author

arietis commented May 18, 2015

It looks like line 152 of service.rb is always resolved as true. Could this be an issue? At least if i remove ", true" i get proper ip address.

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

No branches or pull requests

2 participants