Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Winsock & Parallel Port

Status
Not open for further replies.

RaulBecerra

Programmer
Dec 15, 1999
1
MX
I am trying to sending data between two pc's by paralell port throug a "Laplink" type cable, a friend says that winsock support this comunication, is this true?, how can i make it?, Help me!!..
 
Only if the parallel port can support TCP or UDP which I seriously doubt. I have used the MS Comm Control in the past to communicate via serial ports. I have never tried to use the parallel port. I cannot find any reference to using the parallel port in MSDN in the Visual Basic topic area. You might need to get a third party OCX.

I also recommend a more complete search of MSDN and the KB on the MS web site.


Bruce Voelp
bvoelp@if.rmci.net

Earn AS in 1976 and BS in 1986. Learn to talk with computers when the only interface was 80 column punch cards, and paper tape.
 
I use a control called inOut.ocx.. try to get it from the net.. this will help u to use the parralel port..
I think this will be better than mscomm..
 
Actually, I wasn't suggesting using MSCOMM - it only works for serial ports - best used for modem communication - but does work for serial data transfer - very slow and length limited. I also wanted to point out that WinSock is TCP/IP or UDP based and won't work with a hard wired port like LPT1 - it is used with NICs or modem connections to a TCP/IP based network.

Your third part tool (or something like it) is exactly what Raul will need. Thanks for the suggestion - I will but it in my library also - you never know when you need something like that.

Thanks



Bruce Voelp
bvoelp@if.rmci.net

Earn AS in 1976 and BS in 1986. Learn to talk with computers when the only interface was 80 column punch cards, and paper tape.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top