> Hi
> 
> I'm just starting to experiment with very simple sockets for message
> between two computers on the same TCP/IP LAN.  I'm taking the scripts
> posted by Kevin on 6 Nov and Mark on 1 Jan as my starting point.
> 
> 2) is there any way of finding out the IP address of the current
> computer a stack is running on without making a socket connection to
> another machine?

I have asked Scott the same question.  He told me that it is not possible
because a computer always has at a minimum two ip numbers at all times.
But, he did give me a function that might work.  It turns out that this
function works for me.  Maybe it will work for you.

put hostNameToAddress(hostname()) into field "whatever"

Mark Talluto



> 
> Thanks to both Kevin and Mark for helping me to get started in this area!
> 
> Thanks for any help.
> Peter


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to