This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Inject messages into the RL-TCPnet stack

Hi there,

Is is possible to inject messages into the TCPnet buffers so that they would be processed as received via the PPP or Ethernet ports?

I have seen that the TCPnet stack can use both the Ethernet and PPP ports to transfer data but in out application we need a 3'rd port (we do not use the Ethernet, we use a PPP connection over a USB-CDC device) to transfer TCP data.

Our goal is to allow access to the web server from the
PPP link and from a serial port link.

I am thinking about opening two sockets on two different ports 'aaaa' as client and 'bbbb' as server and then to establish a connection between the two sockets so that I can send data from one to another.
Would such an approach work with the RL-TCPnet? Are there other alternatives?

Thanks and best regards,
Doru

0