Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / December 2004



Tip: Looking for answers? Try searching our database.

Winsock32.dll question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris Grossbe - 27 Dec 2004 17:02 GMT
Im a complete newbie in VB 6.0 so i would appriciate ure help...
I want to make simple communication between 2 computer in a lan, but i
dont want to use the winsock control thingy... I have to declare them
functions out of the winsock32.dll right? so which funct do i need to
establish a connection? wich to send? which to recieve and so on... i
got several example programs but theyre much to complexe for me :/ so i
would welcome some clear understandable advice ^^ i dont want to make no
file tranfer or email, just some bytes exchanged between them comps ^^

THX and greez
Dick Grier - 28 Dec 2004 15:32 GMT
Hi,

You can use the DLL.  I'm sure that there are examples available online.

However, it is much easier to use the Winsock ActiveX control.  Just add it
to your toolbox and drop it on a form.  Or, you can download the free
SocketWrench control, which is even more flexible.  There are many code
examples for these controls online.  Google will find them.

BTW, I use the Winsock control that comes with VB quite happily.

Dick

Signature

Richard Grier  (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2  (391 pages) published July 2004.  See
www.mabry.com/vbpgser4 to order.

Lance Wynn - 29 Dec 2004 01:47 GMT
You can also use the Winsock OCX as a reference.  Just browse to it in the
reference dialog, and declare it withevents

Im a complete newbie in VB 6.0 so i would appriciate ure help...
I want to make simple communication between 2 computer in a lan, but i
dont want to use the winsock control thingy... I have to declare them
functions out of the winsock32.dll right? so which funct do i need to
establish a connection? wich to send? which to recieve and so on... i
got several example programs but theyre much to complexe for me :/ so i
would welcome some clear understandable advice ^^ i dont want to make no
file tranfer or email, just some bytes exchanged between them comps ^^

THX and greez
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.