The "WIN95" and OS/2 implementations of PR_Listen() don't set the error codes when PR_Listen() fails. This is a minor problem, especially for client applications, who don't usually call PR_Listen().
The "WIN95" patch has been tested and checked into the tip of NSPR.
Javier, Your patch looks good. I checked it in after minor editing. Thanks!