TP7 & VB apps communicating

I program in both Turbo Pascal for DOS 7.0 and Visual Basic 5.0. I was
wondering if it was possible or if someone knew how to do it, to allow a vb
program and a dos tp program to communicate to each other. Possibly using
TCP/IP? Some how to exchange streaming data..

Any ideas appreciated