The Socket API, Part 5: SCTP
This article on socket programming deals with the Stream Control Transmission Protocol (SCTP). Similar to TCP and UDP, SCTP provides some features of both. It is message-oriented, and provides a reliable sequenced delivery…
The Socket API, Part 4: Datagrams
Let’s try to develop server clients using UDP, the protocol behind some important services like DNS, NFS, etc. UDP, the User Datagram Protocol, is a connectionless protocol. This means you don’t establish a…
Creating Your Own Server: The Socket API, Part 1
In this series of articles aimed at newbies to network programming (knowledge of C is a prerequisite), we’ll learn how to create network clients and servers using the UNIX Socket API. We’ll start…
Capturing Packets in Your C Program, with libpcap
This article provides an introduction to libpcap, and shows, with examples of source code, how you can use it to create your own packet-sniffing programs. All data on the network travels in the…




