Tag: #udp
What do DNS datagrams look like?
The structure and contents of a DNS request datagram, including the header, question section, and how to represent it in C. 2016-12-31
What are ‘protocol numbers’ in IP?
An IP packet contains a ‘protocol number’ that identifies the protocol (e.g. TCP, UDP) running over IP. The kernel uses this to determine how to handle the packet. 2016-12-23
What syscalls does a UDP server need?
The syscalls needed for a simple UDP echo server are
socket
, bind
, recvfrom
, sendto
, and close
. 2016-12-19How do I write a UDP server in Go?
A UDP server that listens for packets and prints the received messages. A UDP client that sends “hello” to the server. 2016-11-17
All content copyright James Fisher.