SPONSORS:






User Tag List

Results 1 to 8 of 8
  1. #1
    lev
    lev is offline
    Junior Member
    Join Date
    Oct 1999
    Location
    Redwood City,CA
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to get TCP/IP address for local machine?

    What's the best way to get TCP/IP address for local machine in Silk?
    Thanks,
    Lev.

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to get TCP/IP address for local machine?

    2 ways that I know of:

    1. If running from that machine, don't bother. Just use LOCALHOST or 127.0.0.1 and let the Name server handle it.

    2. Go though Control Panel/System/Network/Protocols/Properties and grab it.


  3. #3
    AJ
    AJ is offline
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to get TCP/IP address for local machine?

    One way is to execute WinIPCfg.exe and read it from the GUI.



    ------------------
    AJ Alhait
    BetaSoft Inc.
    AJ Alhait
    BetaSoft Inc.

  4. #4
    Senior Member
    Join Date
    Jul 1999
    Location
    Burlingame CA 94010
    Posts
    502
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to get TCP/IP address for local machine?

    See the attached file. It contains a function which retrieve the IP address on Windows 98 and Windows NT Server. It could easily be modified to add Windows 95 support.

    Let me know if this is helpful

    getipaddress.t



    ------------------

  5. #5
    lev
    lev is offline
    Junior Member
    Join Date
    Oct 1999
    Location
    Redwood City,CA
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to get TCP/IP address for local machine?

    Here is the way I handled this. You've got to have ipconfig.exe(can be fount in System32 directory for Win NT) file in order to succed.
    [This message has been edited by AJ (edited 02-24-2000).]

  6. #6
    Senior Member
    Join Date
    Jan 2000
    Location
    Chicago, Illinois, USA
    Posts
    151
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to get TCP/IP address for local machine?


    Guys, I do not have it handy but bunch of small programs in www.softseek.com or www.download.com that write ip address to text file where we can read from.
    I am personally embedded VB 6 utility embedded that gets IP value from registry

    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\E l90x1\Parameters\Tcpip
    DhcpIPAddress = xxx.xxx.xxx.xxx

    Arkady

  7. #7
    rg
    rg is offline
    Member
    Join Date
    Feb 2000
    Posts
    98
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to get TCP/IP address for local machine?

    Why not use SYS_GetRegistryValue with the above tip?

  8. #8
    Senior Member
    Join Date
    Jan 2000
    Location
    Chicago, Illinois, USA
    Posts
    151
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to get TCP/IP address for local machine?

    definetely, it just how I use it without Silk Test

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by rg:
    Why not use SYS_GetRegistryValue with the above tip?<HR></BLOCKQUOTE>


 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:12 AM.

Copyright BetaSoft Inc.