Navigation:  Programming Cookbook > Sockets Connectivity > Establishing a Client Connection >

Dolphin Developer's Guide - Establishing a Client Connection - Examples

Previous pageReturn to chapter overviewNext page

In the Client workspace:

"Identify the host and port of the server to connect to"

socketB := Socket port: 2048 address: (InternetAddress ipAddress: #[192 169 0 1]).


"Connect to the server - this call will block until the connection is acknowledged"

socketB connect.


So now we have an open connection with socketA at one end and socketB at the other.