212

Sockets
Socket Examples

  • Here is a simple socket client and server pair to experiment with


    Exercise
    1. Run the server example in one window.
    2. Run the client example in a second window.
    3. Type lines into the client window and observe the server window.
    4. Look at the "server" script (click the "server" icon).
    5. Look at the "client" script (click the "client" icon).

    server

    client