Linux Network Programming

This page illustrates how to write a networking code on Linux platform. Each function will be illustrated using a sample code. I will try to make the sample code as simple as possible. I hope the information written in this page helps you. Good luck, and happy linux programming !

Getting IP address from a network interface

Getting IP netmask from a network interface

Getting MAC address from a network interface


gai_strerror : getaddrinfo error handling

creating sockaddr using getaddrinfo

getaddrinfo : try to connect until success

Related Information

Winsock programming
If you need information about network programming on Windows platforms, please take a look at the winsock programming page.


Copyright (C) GeekPage.JP. All rights reserved.