Sockets

Sockets enable byte exchanges between exactly one client and exactly one server at a time. RFO-BASIC! has a separate set of statements for clients and servers. The server waits for a connection from any client, usually indefinitely; the client initiates a connection to a specific server, which it identifies by hostname or Internet Protocol (IP) address. Once the connection is made, the client and server can exchange information. The client and server must be coordinated to know which one initiates each transmission and what the information means.

The medium of communication can be:
 * A local area network (LAN) using Ethernet or WiFi. (Some wireless LANs do not support client-server traffic.)
 * The Internet.