TU Darmstadt / ULB / TUbiblio

Introduction to Raw-sockets

Heuschkel, Jens ; Hofmann, Tobias ; Hollstein, Thorsten ; Kuepper, Joel (2017)
Introduction to Raw-sockets.
Report, Erstveröffentlichung

Kurzbeschreibung (Abstract)

This document is intended to give an introduction into the programming with RAW-sockets and the related PACKET-sockets. RAW-sockets are an additional type of Internet socket available in addition to the well known DATAGRAM- and STREAM-sockets. They do allow the user to see and manipulate the information used for transmitting the data instead of hiding these details, like it is the case with the usually used STREAM- or DATAGRAM sockets. To give the reader an introduction into the subject we will first give an overview about the different APIs provided by Windows, Linux and Unix (FreeBSD, Mac OS X) and additional libraries that can be used OS-independent. In the next section we show general problems that have to be addressed by the programmer when working with RAW-sockets. We will then provide an introduction into the steps necessary to use the APIs or libraries, which functionality the different concepts provide to the programmer and what they provide to simplify using RAW and PACKET-sockets. This section includes examples of how to use the different functions provided by the APIs. Finally in the additional material we will give some complete examples that show the concepts and can be used as a basis to write own programs. The examples are programmed in C++ and we assume that the reader has basic programming skills and networking knowledge to be able to understand the listings and content of this document.

Typ des Eintrags: Report
Erschienen: 2017
Autor(en): Heuschkel, Jens ; Hofmann, Tobias ; Hollstein, Thorsten ; Kuepper, Joel
Art des Eintrags: Erstveröffentlichung
Titel: Introduction to Raw-sockets
Sprache: Englisch
Publikationsjahr: 16 Mai 2017
Ort: Darmstadt
Verlag: Technische Universität
Reihe: Technical Report
URL / URN: http://tuprints.ulb.tu-darmstadt.de/6243
Kurzbeschreibung (Abstract):

This document is intended to give an introduction into the programming with RAW-sockets and the related PACKET-sockets. RAW-sockets are an additional type of Internet socket available in addition to the well known DATAGRAM- and STREAM-sockets. They do allow the user to see and manipulate the information used for transmitting the data instead of hiding these details, like it is the case with the usually used STREAM- or DATAGRAM sockets. To give the reader an introduction into the subject we will first give an overview about the different APIs provided by Windows, Linux and Unix (FreeBSD, Mac OS X) and additional libraries that can be used OS-independent. In the next section we show general problems that have to be addressed by the programmer when working with RAW-sockets. We will then provide an introduction into the steps necessary to use the APIs or libraries, which functionality the different concepts provide to the programmer and what they provide to simplify using RAW and PACKET-sockets. This section includes examples of how to use the different functions provided by the APIs. Finally in the additional material we will give some complete examples that show the concepts and can be used as a basis to write own programs. The examples are programmed in C++ and we assume that the reader has basic programming skills and networking knowledge to be able to understand the listings and content of this document.

URN: urn:nbn:de:tuda-tuprints-62435
Zusätzliche Informationen:

Zugl.: Telecooperation Report No. TR19, The Technical Reports Series of the TK Research Division, TU Darmstadt ISSN 1864-0516

Sachgruppe der Dewey Dezimalklassifikatin (DDC): 000 Allgemeines, Informatik, Informationswissenschaft > 004 Informatik
Fachbereich(e)/-gebiet(e): 20 Fachbereich Informatik
20 Fachbereich Informatik > Telekooperation
Hinterlegungsdatum: 21 Mai 2017 19:55
Letzte Änderung: 15 Aug 2023 10:58
PPN:
Export:
Suche nach Titel in: TUfind oder in Google
Frage zum Eintrag Frage zum Eintrag

Optionen (nur für Redakteure)
Redaktionelle Details anzeigen Redaktionelle Details anzeigen