|
-
Jun 7th, 2006, 01:14 PM
#1
Thread Starter
Junior Member
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
-
Jun 7th, 2006, 01:24 PM
#2
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
-
Jun 7th, 2006, 01:44 PM
#3
Thread Starter
Junior Member
Re: TCP/IP on Visual Basic
I want to connect to a remote server and obtain certain values from variables and sensors
-
Jun 7th, 2006, 06:46 PM
#4
Frenzied Member
Re: TCP/IP on Visual Basic
You could use the winsock control.
Which protocols does the server use?
-
Jun 7th, 2006, 07:01 PM
#5
Hyperactive Member
Re: TCP/IP on Visual Basic
 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.
-
Jun 8th, 2006, 01:29 AM
#6
Addicted Member
Re: TCP/IP on Visual Basic
yes, the winsock control is perfect for your issue.
-
Jun 8th, 2006, 08:05 AM
#7
Thread Starter
Junior Member
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
-
Jun 8th, 2006, 09:07 AM
#8
Fanatic Member
Re: TCP/IP on Visual Basic
Dont rely only on your luck. Work hard until You get success.
vb Code:
Private sub Time_ispassing
While Me.Notgetsuccess
trygain=tryagain+1
Me.workhard
wend
end sub
-
Jun 8th, 2006, 07:15 PM
#9
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|