IPCSocket Class


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.




REALbasic Cross-Platform Application Development
REALbasic Cross-Platform Application Development
ISBN: 0672328135
EAN: 2147483647
Year: 2004
Pages: 149

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net