Results 1 to 9 of 9

Thread: TCP/IP on Visual Basic

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    30

    TCP/IP on Visual Basic

    Hello:
    Im working on an investigation and i need any information on utilizing TCP/IP on Visual Basic , Tutorials would be good and any example would be even better
    Thanks

    Steve

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: TCP/IP on Visual Basic

    What, exactly, do you want to do with tcp/ip?
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    30

    Re: TCP/IP on Visual Basic

    I want to connect to a remote server and obtain certain values from variables and sensors

  4. #4
    Frenzied Member
    Join Date
    Oct 2003
    Posts
    1,301

    Re: TCP/IP on Visual Basic

    You could use the winsock control.

    Which protocols does the server use?

  5. #5
    Hyperactive Member
    Join Date
    Jun 2006
    Posts
    372

    Re: TCP/IP on Visual Basic

    Quote Originally Posted by madwolf32
    I want to connect to a remote server and obtain certain values from variables and sensors
    is this your server, or someone else's?
    meaning, do you have the opportunity to write a program to collect the sensor data?

    if you do, then it should be simple to make a client to collect that data remotely.

  6. #6
    Addicted Member
    Join Date
    Apr 2006
    Location
    Sweden
    Posts
    173

    Re: TCP/IP on Visual Basic

    yes, the winsock control is perfect for your issue.
    Please Help Us To Save Ana

    You never fail before you stop trying!
    ______________________________
    If I manage to say something good...please reputate
    ______________________________
    ________

    Links:
    Intellithing
    Digitala.nu
    Norrköpings Goklubb
    WoW Trade Center

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    30

    Re: TCP/IP on Visual Basic

    does anyone have a tutorial on winsock or microsoft internet controls? , the server uses a TCP/IP Stack called OpenTCP, it is a microcontroller board which has all the sensors conected to it, and it already is able to run an html web page informing sensor status, i want to create an aplication which can read multiple ips in sequence or in parallel and show me that information, kinda like a monitoring station

  8. #8
    Fanatic Member vivek_master146's Avatar
    Join Date
    Apr 2006
    Location
    Delhi,India
    Posts
    787

    Re: TCP/IP on Visual Basic

    Dont rely only on your luck. Work hard until You get success.
    vb Code:
    1. Private sub Time_ispassing
    2. While Me.Notgetsuccess
    3. trygain=tryagain+1
    4. Me.workhard
    5. wend
    6. end sub

  9. #9
    Member
    Join Date
    May 2006
    Location
    UK
    Posts
    54

    Re: TCP/IP on Visual Basic

    As this is a microcontroller based web server i think it may be easier for you to use the Inet control to retrive the web page with the data on it, and then parse it. If you are able to it may be an idea to alter the page that shows the data, as it would require less parsing.

Posting Permissions

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



Click Here to Expand Forum to Full Width