Hello All,
The following is FYI:
On Apr 24, 2014, at 10:42 AM, Archer, Garry wrote:
<snip>
I have hardware ("terminal port server") that encapsulates the serial data from
the machine into TCP/IP packets to send over an Ethernet. The Mac is in a
remote location.
Somehow, I have to set up "virtual COM port" software on the Mac (pretty much
only available for Windows and Linux!).
<snip>
If it interests you, take a look at this:
http://members.iinet.net.au/~mgl/MartysPlace/MultiCom.html
(From the documentation)
MultiCom manages two ports, Port A and Port B. Anything received on Port A is
transmitted out of Port B and vice versa.
Ports A and B can be set up as any of the following:
Serial: Will open a serial device.
TCP Client: Will try to establish a TCP connection to a specified host/port.
Will retry every 10 sec if connection is refused.
TCP Server: Will listen on specified port and wait for incoming connections.
Multiple connections will be merged into the counterpart port and data coming
back will be broadcast to all connections to the server port.
Socket File Client: Acts like TCP client except connects using a specified file
socket not a network socket.
Socket File Server: Acts like TCP server except connects using a specified file
socket not a network socket.
Note Parallels presents serial ports of the guest OS as socket files on the
host.
For example, to set up a serial over TCP between two machines:
On machine 1, set up port A as serial and port B as TCP server on some port (eg
10000).
On machine 2, set up port A as serial and port B as TCP client. Specify the
host name or IP address of machine 1 and same port number.
Machine 1 will then wait for incoming connections and machine 2 will try to
establish a connection to machine 1. Once they connect, data will be passed
between the two serial ports.
Serial ------- TCP Server TCP Client ------- Serial
------| A B |-----------//------------| B A |--------
------- -------
One extreme example of this, perhaps, is if you had two serial devices at
opposite ends of the planet that need to communicate to each other.
This would be one good use case for a MINA Serial Connector (exists) and a MINA
Serial Acceptor (doesn't exist).
I'm not sure if it helps anyone or is relevant to your projects (not me,
unfortunately), but I thought it was interesting, nonetheless. It's amazing
what one finds when Googling around!
Regards,
Garry Archer
Systems Programmer
Department of Pathology
Yale School of Medicine