8000 GitHub - Alex1989Wang/TCP-IP-code-examples: This repo contains code examples from TCP/IP illustrated volume 2. Swift is used to call c functions from the system's TCP/IP stack.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This repo contains code examples from TCP/IP illustrated volume 2. Swift is used to call c functions from the system's TCP/IP stack.

Notifications You must be signed in to change notification settings

Alex1989Wang/TCP-IP-code-examples

Repository files navigation

TCP-IP-code-examples

This repo contains code examples to understand the book TCP/IP illustrated volume 2. Some examples are named using chapter names from the book. Others are standalone examples made to understand a particular function from the system's socket API.

Swift is used to call c functions.

The list of examples

overview

Use socket API to get the current timestamp from a NTP server.

getaddrinfo function

An example to demonstrate the use of getaddrinfo function.

sock-connections

An server-client TCP connection example.

cfsocket-connection

CFSocket is a wrapper on BSD socket APIs. This example shows a simple client-server connection-oriented implementation.

About

This repo contains code examples from TCP/IP illustrated volume 2. Swift is used to call c functions from the system's TCP/IP stack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0