This discussion is closed.
Jonatan
Badges: 13
Rep:
?
#1
Report Thread starter 17 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
#2
Report 17 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:
?
#3
Report 17 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:
?
#4
Report 17 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:
?
#5
Report Thread starter 17 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
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

What would make a great online university open day?

Virtual campus tour (62)
19.38%
Virtual accommodation tour (45)
14.06%
Find out about sports clubs, societies and facilities (16)
5%
Video content about the local area (3)
0.94%
Webinars with lecturers (11)
3.44%
Taster lectures or seminars (70)
21.88%
Speak to current students studying my course (69)
21.56%
Speak to current students about the uni in general (13)
4.06%
Fun online activities or experiences (12)
3.75%
Connecting with careers services or employers (8)
2.5%
Info about student wellbeing and support services (5)
1.56%
Something else (let us know in the thread!) (6)
1.88%

Watched Threads

View All