RF182C communication module
Operating Instructions, 10/2010
81
Examples/applications
10
10.1
Basic principles of socket programming, exemplary in C
10.1.1
Socket programming requirements
Definition
A socket is the end point of a communication connection. All modern operating systems
nowadays have a socket application interface. This software interface permits access to the
TCP/IP stack on the operating system used.
Requirements
● An operating system/programming language must be used that supports network
programs with sockets.
● Sockets are supported by the following operating systems: Microsoft Windows
95/98/ME/2000/XP/Vista, Linux, Unix. Other operating systems must be considered with
regard to the usability of network programs.
● Sockets are used by many programming languages (e.g. C, C++, C#, Delphi, VB, Java).
Other programming languages must be considered with regard to the usability of network
programs.