SOAP for multiple images on the same host
Anthony Hannan
ajh18 at cornell.edu
Fri Mar 1 16:49:26 UTC 2002
Lyle Bloom <lylebloom at yahoo.com> wrote:
> How is SOAP used for communication between images on the same host? Is
> this where the port is used?
Yes. Check out Socket class 'examples' protocol.
> How can I find out the port associated with an image (on Windows and Linux)?
You use a different port number for every socket you create. A machine
can have more than one socket connections. However, a machine only has
one ip address. To find the ip address of your machine do
"NetNameResolver localHostAddress" you may have to do "Socket
initializeNetwork" first.
More information about the Squeak-dev
mailing list
|