Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-TCP CPAN distribution.

Report information
The Basics
Id:
80335
Status:
rejected
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
BBYRD [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Wishlist
Broken in:
(no value)
Fixed in:
(no value)



Subject: Test::UDP?
It would be nice if it worked with UDP. Looks like it's doable with some minor changes.
Hi, Test::*TCP* means it detects empty port. But UDP is connection less protocol, you don't need a module like Test::TCP. You can use just Test::SharedFork and process management class like Child.pm, Proc::Guard, etc. You can get a same experience for testing UDP with Test::SharedFork + Proc::Guard. Regards, On Mon Oct 22 11:19:30 2012, BBYRD wrote:
Show quoted text
> It would be nice if it worked with UDP. Looks like it's doable with some > minor changes.
You can still run a listener on UDP, and that listener can conflict with one already in place. For example, I have a test that brings up a syslog daemon on a random UDP port on localhost. But, I want to make sure that the random port isn't being used by other daemons on the box. Or even CPAN bots running my test on multiple Perl platforms.
I cannot understand what your problem. And Test::TCP is an important module in the CPAN tool chain. A lot of modules are depended to this module. And it's very stable. I *never* bundle Test::UDP for Test::TCP module. I don't want to maintain Test::UDP part, since I don't use it and I cannot understand why it's needed. But you can release Test::UDP in another distribution by you. Thanks. On Thu Oct 25 09:07:03 2012, BBYRD wrote:
Show quoted text
> You can still run a listener on UDP, and that listener can conflict with > one already in place. > > For example, I have a test that brings up a syslog daemon on a random UDP > port on localhost. But, I want to make sure that the random port isn't > being used by other daemons on the box. Or even CPAN bots running my test > on multiple Perl platforms.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.