2011/2/4 Levente Uzonyi
<leves@elte.hu>
On Fri, 4 Feb 2011, Noury Bouraqadi wrote:
On 4 f�vr. 2011, at 12:38, jannik.laval wrote:
On Feb 4, 2011, at 09:48 , Igor Stasenko wrote:
On 4 February 2011 09:19, Laval Jannik <jannik.laval@gmail.com> wrote:
but how can i find these ip address in pharo?
perhaps by writing new primitive :)
Is there one already existing ?
I don't think so.
An alternative might be to use an Ocean-like approach and call OS features directly through some FFI.
There is. See my previous mail in this thread.
Now, another thing, the method: NetNameResolver>>isConnected.
Inside there is this code:
===
isConnected
� � � �"Dirty, but avoids fixing the plugin bug"
� � � �[NetNameResolver addressForName: 'www.esug.org'.] on: NameLookupFailure do: [:ex| ^false].
� � � �^true
===
The comment is clear... is the plugin bug fixed ?
No.
Luc and I decided that it does not worth it struggling with the plugin.
This is why we initiated the Ocean project (plugin-free networking) available on SqueakSource.
Plugin-free networking doesn't exist. You either use the SocketPlugin, FFIPlugin or the plugin for Alien.
Yes, but hopefully we will be SocketPlugin free.
At the end,�"There�can be�only one" (FFI or Alien or NB or a better one) ;-)
IMHO, plugins are a pain to understand, maintain, integrate in the�latest VM...
so let's kill them as much as possible.