|
-
Sep 29th, 2000, 06:42 AM
#1
Thread Starter
Fanatic Member
Hi!
I want to know a simple thing:
How do I use exactly the WinSock OCX in
VB?
I know there is Conect, GetData and SendData
methods but I don't know how to use them.
Can anyone explain me?
Thank you,
Arie.
Visit: http://www.nip.to/camel2000
-
Oct 1st, 2000, 05:33 AM
#2
Thread Starter
Fanatic Member
Ok... But how...
Ok... I under stand that part.
But how do I connect with a distant
computer? I'll just write his IP?
It isn't looks that easy...
For example: I want to transfer data
from my computer to another distant computer,
how do I do it?
Thank you anyway,
Arie.
Visit: http://www.nip.to/camel2000
-
Oct 1st, 2000, 11:15 AM
#3
PowerPoster
The same, you start the server on your coputer and press listen, then on the other computer you start the client, but instead of "127.0.0.1" you enter your computer's IP and connect... really easy
-
Oct 3rd, 2000, 02:45 PM
#4
Thread Starter
Fanatic Member
Well... Ok.
But when I write the other computer IP so I need
to be connected to the internet?
And how do I get my IP? there is some API?
Thank you,
Arie.
<B>Visit:</B> http://www.nip.to/camel2000
-
Oct 4th, 2000, 02:41 PM
#5
PowerPoster
You need any connection (TCP/IP, IPX/SPX or something)... you can get your own IP like this:
Code:
MsgBox "You IP is: " & WS.LocalIP & " and your computer's name is: " & UCase( WS.LocalHostName ) & "."
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
|