Using TCP/IP from APL2
Using sockets


  1. each user is located on a host
  2. each host has its IP address ex : 46.55.91.57
    An IP address can have aliases ex: "www.xyz.edu"
  3. Each program which uses TCP/IP has an internal number within the host : the port number
  4. To use TCP/IP we have to create a session via a socket

    The direct use of TCP/IP is called socket programming

TCP/IP is the protocol used by Internet; TCP/IP can also be used outside internet : for your own use, you can choose freely your IP Address.