Exemplified Programming Interface Usages.
This project holds complete code samples for demonstrating archetypal usage of various application programming interfaces and common code patterns in those languages.
-
host and service name resolution using
getaddrinfo
, -
syscall usages for
socket
,bind
,listen
,connect
, etc. -
IO multiplexing with SysV
poll
. (See this for an argument againstselect
)
-
Build Command:
make CFLAGS="-Wall -Wextra" xtcp
-
Usage:
xtcp [[bind-address] bind-port] connect-address connect-port
(addresses and ports can be host and service names)
- The newer IEEE-754 standards are more than just FP data formats. Here I've made a outline summary of the 2019 edition of the standard as a publicly available reference.
- A discussion of C language integer types of my own.
- Concurrent programming with async/await is nothing new under the sun.
- Making sense of how the current forms of programming languages came about.
A discussion about some of the most complicated concepts with Unix/POSIX.