kweto wrote:
(B
(B>Hello again,
(B>
(B>Both methods advised by Thierry Arbellot and Dar Scott worked... on Win2K
(B>but not on Win98SE.
(B>
(B>The result I got for hostAddress on a local computer was...
(B>
(B>0.0.0.0
(B>
(B>.. when I tried both Thierry Arbellot's...
(B>
(B>
(B>
(B>> put "255.255.255.255:43222" into testSocket
(B>> open datagram socket to testSocket
(B>> put hostAddress(testSocket) into theIPAddress
(B>> close socket testSocket
(B>>
(B>>
(BI'm not entirely surprised that failed - using "255.255.255.255" is
(Bsomething of a "trick", so it could work or fail depending on the OS.
(B
(B>.. and Dar Scott's variation of using...
(B>
(B>
(B>>the IP address of something on the LAN that is fixed"
(B>>
(B>>
(BBut I'm amazed that failed. Are you sure :-) ?
(B
(B>So I'm back to square one, i.e., how to use Rev to find out a computer's LAN
(B>IP.
(B>
(B>
(BWhat is the LAN address that you used on Win98SE ?
(BIn fact - what's the whole output from "ipconfig" ? Can you check that
(Byou can "ping" the server address from the Win98SE machine ?
(BIs the LAN address you used that of another machine you can access /
(Bcontrol ? If so, could you put a UDP "echo server" on it and try sending
(Bit UDP packets from Win98SE ?
(B
(BIf that works - i.e. you can send a datagram packet and get a reply from
(Bthe server, then the hostAddress() function really, really should work -
(Band if it doesn't, I think it's time for a Bugzilla submission.
(BOTOH, if that doesn't work, then again we may be close to ready for
(BBugzilla - but maybe get back to the list with all the results up till
(Bthen ....
(B
(B(If you don't have a datagram echo server and client, email me off-list
(Band I'll send you one.)
(B
(B-- Alex.
(B
(B
(B--
(BNo virus found in this outgoing message.
(BChecked by AVG Anti-Virus.
(BVersion: 7.0.296 / Virus Database: 265.6.2 - Release Date: 20/12/2004
(B
(B_______________________________________________
(Buse-revolution mailing list
([email protected]
(Bhttp://lists.runrev.com/mailman/listinfo/use-revolution