A possible suggestion:
Maybe use sockets?

Regards