[Newbies] How do I get the subnet mask in squeak?

Karl Ramberg karlramberg at gmail.com
Thu Jan 14 17:02:06 UTC 2010

On 2010-01-13 17:32, squeak.delta at web.de wrote:
>  Hi Squeak-Fans!
> I am new in programming squeak and I have the following problem:
> I try to find all hosts, which are running a special squeak network 
> program I wrote.
> To do so I want to connect to all hosts in my subnet. If I am able to 
> connect to one
> it answers with a special message. To calculate the IP-addresses of 
> all these hosts I
> need the subnet mask and my IP-address, I think.
> I know how to get my IP in squeak, but I do not know how to get the 
> subnet mask.
> So my question is, is there a possibility in squeak to determine the 
> current subnet mask?
> Thanks for your help,
> best regards.

take a look at the NetMorph image that have this capability:



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20100114/60b44351/attachment.htm

More information about the Beginners mailing list