I have two TCP servers and each expects a client connection, but I need to have them talk to each other. This is how the connection looks like:
DEVICE -> UART -> SER2NET -> XXX <- OFONO-PHONESIM
Ser2net listens on a port and ofono-phonesim listens on a port, but ultimately I want the device to speak to the modem simulator.
It would not be hard to implement the XXX
, but perhaps there is something ready available? A suggestion of a simple suitable scripting language library would be appreciated as well.