scp / hushmail.com wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
>
> Hello all,
>
> I am having issues with the TCPServer class on Solaris 8. When the port that the program is listening on is "portscanned" by nmap I get the following error and the program dies:
>
> "in `accept': Software caused connection abort (Errno::ECONNABORTED)"
>
> The same code runs fine on my Linux machines (Redhat 7.3, ruby 1.6.7). I have tried ruby versions 1.6.7 and 1.6.8 and have even tried the 1.8.0 preview, all with the same results.
>

That's peculiar.  I run TCPServer on Solaris 6, 8 and 9 with no problem.

JOOC, what compiler was used to build Ruby on that machine?  Could this be a Sun cc thing?  We always use gcc here.

Please post some code.  We promise not to laugh.

Regards,

Dan