On Tue, 17 May 2011, Gary Dunn wrote:
> Mantis 7624. Originally reported as an error pulling out a badge.
> Investigation reveals that the primitive is failing to return the
> local IP address.
>
> <primitive: 'primitiveResolverLocalAddress' module: 'SocketPlugin'> in
> class NetNameResolver.
>
> Works correctly in Win7 and Mac OS X.
>
> FreeBSD has a reputation of dealing with network configuration
> differently than Linux.
The primitive can't work correctly, because it only returns one local
address, but a host can have any number of such addresses. If you bring up
a new network interface, then the primitive will return the address of
the new interface (on windows), so using this primitive from different
parts of the same program can result in unexpected behavior.
Levente
>
> --
> Gary Dunn
> Honolulu
>
>