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
Printable View
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
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
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 ;)
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
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 ) & "."