Library Rat

  • Books
  • Bytes
  • Pixels
  • About me

Tierra Network Version

  • Introduction
  • I-Tierra
  • II-The Internet
  • III-Tierra, Network Version
  • IV-Conclusion
  • Annexes
    • Annex 1: Client-server models using sockets
    • Annex 2: Socket system calls
      • A2.1-Socket address structures
      • A2.2-Elementary socket system
        • A2.2.1-Creating a socket
        • A2.2.2-Readying a socket for communication
        • A2.2.3-Sending and receiving data
        • A2.2.4-Closing a socket
      • A2.3-Useful routines
      • A2.4-Reserved port numbers
    • Annex 3: Toward version 1.1
  • Bibliography

Navigation

  • Blogs
Home › Tierra Network Version › Annexes › Annex 2: Socket system calls

A2.2-Elementary socket system

The code for the following system calls is located in <sys/socket.h>.

  • A2.2.1-Creating a socket
  • A2.2.2-Readying a socket for communication
  • A2.2.3-Sending and receiving data
  • A2.2.4-Closing a socket
‹ A2.1-Socket address structures up A2.2.1-Creating a socket ›
© Agnès 1999-2008