Visual Basic Networking

Watch this thread
This discussion is closed.
Jonatan
Badges: 13
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#1
Report Thread starter 18 years ago
#1
Does anyoen here know how I can use the Winsock controll to post messages like a peer to peer application acroos the internet ? I have the IP numbers of the two computers I want to communicate between, I lack a tutorial on how to use the winsock control.

Also, if anyone knows any place I can download the documentation for Visual Basic 6.0 I would be very greatfull.

Thanks in Advance.
0
Mr K
Badges: 0
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#2
Report 18 years ago
#2
erm.... can't remember the exacy property names but they should be easy to work it out from within VB

Fill in the settings

Tell Winsock on the reciving system to listen
Tell windock on the seding system to connect
This will generate a connect request event on the reciver - accept it

You now have a connection that will send data both ways....

A senddata will Trigger a data sent event when it's finished sending and a data recived on the remote......

Sending and reciving's fairly simple, the key is to devise some extra kind of control language to regulate the flow etc etc
0
Rich
Badges: 2
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#3
Report 18 years ago
#3
(Original post by Jonatan)
Does anyoen here know how I can use the Winsock controll to post messages like a peer to peer application acroos the internet ? I have the IP numbers of the two computers I want to communicate between, I lack a tutorial on how to use the winsock control.

Also, if anyone knows any place I can download the documentation for Visual Basic 6.0 I would be very greatfull.

Thanks in Advance.
I believe the MSDN libraries should be available at http://msdn.microsoft.com/library. However, you won't be able to download them all to disk here, you'll just be able to view them online. Didn't you get an MSDN CD when you bought Visual Basic? These libraries should provide you with all the information you need regarding Winsock.
0
EI_123
Badges: 0
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#4
Report 18 years ago
#4
(Original post by Jonatan)
Does anyoen here know how I can use the Winsock controll to post messages like a peer to peer application acroos the internet ? I have the IP numbers of the two computers I want to communicate between, I lack a tutorial on how to use the winsock control.

Also, if anyone knows any place I can download the documentation for Visual Basic 6.0 I would be very greatfull.

Thanks in Advance.
As rahaydenuk already said you can find it in the MSDN, I'll add a direct link and by the way MSDN is the bible for Windows programming.

http://msdn.microsoft.com/library/en...ockcontrol.asp

http://www.vbip.com/winsock/index.asp

http://www.tutorgig.com/showurls.jsp?group=4071&index=0

http://www.just-learning-links.com/b...l_winsock.html

http://www.devarticles.com/c/a/Visua...-Visual-Basic/

Regards,
Mariano.
0
Jonatan
Badges: 13
Rep:
? You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#5
Report Thread starter 18 years ago
#5
(Original post by Jonatan)
Does anyoen here know how I can use the Winsock controll to post messages like a peer to peer application acroos the internet ? I have the IP numbers of the two computers I want to communicate between, I lack a tutorial on how to use the winsock control.

Also, if anyone knows any place I can download the documentation for Visual Basic 6.0 I would be very greatfull.

Thanks in Advance.
Thanks guys. I got the application working now.
0
X
new posts
Back
to top
Latest

Do you know what you'll do if you don't get the grades you're hoping for?

Find something else in clearing (41)
28.28%
Take a gap year (23)
15.86%
Resit my exams (40)
27.59%
Look for alternate pathways to the career I want (19)
13.1%
I don't know yet (16)
11.03%
Something else (tell us in the thread) (6)
4.14%

Watched Threads

View All