Local Connection via TCP

Is it possible for the TCP stack to connect to itself?
For instance a TCP client and server are running on the same rabbit module.
The server then connects to the client (again on the same module).
This seems like a good solution to partitioning an application.
PC’s do this all the time.

Thanks in advance

Just to Clarify.
One “thread” is doing a tcp_listen(…).
The other “thread” does a tcp_open(…) to the listening thread.

Hello AAL.

I wold like to make a clinet-server application in the same rabbit module like you.

I can’ t send messages to local host “127.0.0.1”.

Did you find a solution to your problem?

Regards,
Lusima