TCP > COM1 for receiving messages and displaying on POS display pole

Posted by JakeTheSnake on Super User See other posts from Super User or by JakeTheSnake
Published on 2013-10-17T21:47:48Z Indexed on 2013/10/17 22:00 UTC
Read the original article Hit count: 235

Filed under:
|
|
|

I currently have a Java Applet running on my web page that communicates to a display pole via COM1. However since the Java update I can no longer run self-signed Java Applets and I figure it would just be easier to send an AJAX request back to the server and have the server send a response to a TCP port on the computer...the computer would need a TCP > COM virtual adapter. How do I install a virtual adapter to go from a TCP port to COM1?

I've looked into com0com and that is just confusing as hell to me, and I don't see how to connect any ports to COM1. I've tried tcp2com but it doesn't seem to install the service in Windows 7 x64. I've tried com2tcp and the interface seems like it WOULD work (I haven't tested), but I don't want an app running on the desktop...it needs to be a service that runs in the background.

So to summarize how it would work:

  • Web page on comp1 sends AJAX request to server
  • Server sends text response to comp1 on port 999
  • comp1 has virtual COM port listening on port 999, sends data to COM1
  • pole displays data

© Super User or respective owner

Related posts about windows-7

Related posts about 64-bit