Skip Menu |

This queue is for tickets about the POE-Component-Server-DNS CPAN distribution.

Report information
The Basics
Id: 25244
Status: resolved
Worked: 30 min
Priority: 0/
Queue: POE-Component-Server-DNS

People
Owner: BINGOS [...] cpan.org
Requestors: blblack [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.05
Fixed in: (no value)



Subject: tests fail on mac due to port 5353
On OSX machine, port 5353 is actually already in use in the normal case, and thus the test scripts fail with address already in use. Globally substituting in port "35353" in t/*.t fixed it for me locally.
I have added the ability to specify ( port => 0 ) so the component will bind to a randomnly assigned port. Added a sockport() method for retrieving the listening port. Refactored tests to use randomly assigned port. 0.06 released to CPAN Many thanks, Chris