How to use Winsock?

  • Thread starter Thread starter Jorge Novoa
  • Start date Start date
J

Jorge Novoa

Hello everyone!

Can anyone tell me how to use WINSOCK in a form in order to cummunicate 2 or
more PCs???
How to listen to a port?
How to set the remote host, remote port, local host?
How to manage the communication?

A little example like text transfer between 2 computers is enough for me.

Thanx!

Be well!
 
Thanks Albert!

I've been busy for a while already, searcing for code in VB, jeje! And it's
not the same for Access.

Yes, I'm sure I'm looking for ms-access examples.
 
This newsgroup is for the access application included with Microsoft office.

So, as a general rule..we would not use Winsock.

However, you can use the Winsock control that ships with VB6 and it works
with ms-access.

So, not sure if you are looking for ms-access examples...or just general VB
examples?

Just do a search on the web for VB winsock examples....

That should keep you nice and busy for awhile.
 
As mentoned, I have used the winsock contorl with ms-access.

As sad as it sounds...I throw out hte code and working example that I had.

I belive that the best ref I used was:
 
Opps..bumped send key...

As mentioned, I have used the Winsock control with ms-access.

As sad as it sounds...I throw out the code and working example that I had.

I can't remember the ref I used...but the control does work....

I used the control to write a newsgroup reader. I wanted to turn ms-access
into a newsgroup system.
 
Jorge Novoa said:
I've been busy for a while already, searcing for code in VB, jeje! And it's
not the same for Access.

Yes, I'm sure I'm looking for ms-access examples.

For what little I've done VB code has worked just fine in Access.
But I didn't get that deep into things either.

Microsoft Access & TCP/IP programming
http://www.granite.ab.ca/access/tcpipprogramming.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
Back
Top