[BUG][FIX} Linux 2.8 VM running the Network Unit tests

Rob Withers slosher2 at home.com
Thu Jul 20 00:09:50 UTC 2000


Lex Spoon wrote:
> 
> Rob Withers <slosher2 at home.com> wrote:
> > > > However you should ensure the ping: test actually can complete, try pinging
> > > > the site in question on the command line and see what happens.
> >
> > It works of course.  It seems that squeak.cs.uiuc.edu refuses pings so I
> > sent it to another site.
> >
> 
> Something that hasn't been mentioned yet, is that the "ping" utility
> does something completely different than the #ping: method.  "ping" uses
> low-level ICMP packets and works on almost every host, but is filtered
> out by many firewalls.  #ping: uses a semi-standard TCP service that is
> both available and not available on a significant number of computers;
> on the other hand, #ping: will work fine through most firewalls.
> 
> So either it's quite reasonable for ping to work on some host but
> not #ping:, and vice versa.
> 
> -Lex

Right, it is going to port 7 which is the echo port.  The exception that
gets thrown in this case is a send data timeout.  It seems that the
Socket code (Squeak or c) knows when the other end closes such that the
connection is refused.  Do you think there is there a better exception
that could be thrown in this case?

cheers,
Rob

-- 
--------------------------------------------------
Smalltalking by choice.  Isn't it nice to have one!





More information about the Squeak-dev mailing list