Oops, the -s flag doesn't work on Mac OS.
On Sun, May 13, 2018 at 7:41 PM, john pfersich wrote:
>
>
> I don’t know if this will help, you can use OSProcess to run the ifconfig
> Unix (MAC OS) command, kind of like this:
>
> Use ifconfig -s to get a list of the
I don’t know if this will help, you can use OSProcess to run the ifconfig
Unix (MAC OS) command, kind of like this:
Use ifconfig -s to get a list of the interfaces:
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVRTX-OK TX-ERR TX-DRP TX-OVR
Flg
enp2s0 1500 0 0 0 0 0
>
> (impossible without the added networking prims, and still unreliable
> whether it will find the correct ones with...)
>
The problem seems to be here: he->h_addr_list[0] its a list of addresses
and only the first one is used.
Unix:
I already tried the one you suggested, but it returns the loopback IP on P7.
With the Henrik SSDP package, I can get the IP:
SSDPParticipant new allLocalV4Addresses.
However when I activate a second network interface, this last one
returns an empty collection. When inactivating this second
I think he means you can not discover all interfaces from Pharo. I have 2
network interfaces with addresses 192.168.0.4 and 192.168.56.1
Pharo only returns the first one.
NetNameResolver localHostName "'thepc'".
NetNameResolver localHostAddress. "#[192 168 0 4]"
NetNameResolver nameForAddress:
Hi Norbert,
Just to be sure I understood correctly what you wrote regarding network
interface: Do you mean it is impossible to discover the network
interface IP address from the image? It is this IP the teacher Dr. Geo
server needs to broadcast over UDP.
Hilaire
Le 08/05/2018 à 16:22,
Guillermo Polito wrote:
Just be careful, that privateState thing looks like a Moose only Famix
feature. It't not available in plain Pharo objects :)
In ES6 mailing list, they had this problem re how to do private state
for objects, and it was shown that having private state is sort of
On dim. 13 mai 2018 at 18:23, chrismihaylyk wrote:
> Hi!
>
> I need to add an item to world menu. I know how to add it manually by
> running some method.
> But I need this item to be added automatically into world menu just along
> installing (loading) package code from
Hi!
I need to add an item to world menu. I know how to add it manually by
running some method.
But I need this item to be added automatically into world menu just along
installing (loading) package code from smalltalkhub.
Can anyone help me, please? =)
--
Sent from: