Socket Servers

Server and client socket connections are the basis for a large part of the communication a computer performs. They can be used locally, for interprocess communication or to connect to other machines. SocketOpen creates a server that multiple clients can connect to and communicate with.

Open a TCP server socket.

Connect to the server with client sockets.

Write a message from each client to the server.

Obtain a server-side reference to each connection.

Read from each connected socket.

Close the open sockets.

Related Examples

de es fr ja ko pt-br zh