PORTS Forum

Ports and Interfaces => Parallel Port => Topic started by: CoolDann on November 12, 2012, 05:04:21 pm

Title: Parallel port access via web
Post by: CoolDann on November 12, 2012, 05:04:21 pm
Hi All:
I know how acces parallel port thanks to Jan Axelson´s book (by the way, the user with this name, here in this forum will the author of this book?), but now, I have a little question and I want to do it.   Can I access a LED with the parallel port via internet?
I have reas many articles but most of the are dor Linux? I want to do this with Windows XP o Windows 7.
Thanks in advance.

Dann
Title: Re: Parallel port access via web
Post by: Jan Axelson on November 12, 2012, 10:04:43 pm
Here is one example of how to send and receive messages over a network using TCP/IP:

http://www.codeproject.com/Articles/38914/A-TCP-IP-Chat-Program

One computer can send a message to turn the LED on or off. When the PC with the parallel port receives a message, it can use an inpout DLL to toggle a bit on the parallel port.