TCPSocket and SSLSocket are typically used for communication between applications that reside on different servers. There are some situations, however, where you may have two applications running on the same server that you would like to be able to send data to and from. Although it's possible to use TCPSocket for this, REALbasic provides a class that works like TCPSocket, but that is designed exclusively for communication between two applications running on the same machine. The only real difference is that instead of setting a Port value, you set a value for the Path property: ICPSocket.Path as String This path should be the absolute path to the application you want to communicate with. After this value is set, call the Listen method to wait for communication, or use the Write method, as you would with a TCPSocket. |