|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Serial port via IPHi
I need to create a web page to access a serial port from any computer around the world via IP. Programming the Port is not a problem. How can I access any PC in the world ? Denis "denisrcharron" <denisrchar***@hotmail.com> wrote in You can do it via socket programming, remoting, or some other method (web news:1163539909.507859.45840@i42g2000cwa.googlegroups.com: > Programming the Port is not a problem. > How can I access any PC in the world ? services, Windows Communications Framework, etC). Hi,
Creating a web service would be the most straight forward approach, I think (and would provide answers for most security issues). You would have to handle port contention if the remote PCs need to send data (I have examples of this sort of thing in my book, though for earlier version of VB, and not over the web). It all they remote devices need to do is to READ data, then port contention is not an issue, and the service would be fairly simple. This also is possible over TCP/IP (example, see RemoteComm on my homepage). However, the port would have to be open, or you would need an more complex access method), and multiple simultaneous connections can be painful. Dick -- Richard Grier, MVP Hard & Software Author of Visual Basic Programmer's Guide to Serial Communications, Fourth Edition, ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March 2006. See www.hardandsoftware.net for details and contact information. |
|||||||||||||||||||||||