Tcphdr

Tcphdr

Lambert M. Surhone, Mariam T. Tennoe, Susan F. Henssonow

     

бумажная книга



Издательство: Книга по требованию
Дата выхода: июль 2011
ISBN: 978-6-1333-4753-3
Объём: 76 страниц
Масса: 135 г
Размеры(В x Ш x Т), см: 23 x 16 x 1

High Quality Content by WIKIPEDIA articles! Tcphdr is a struct (structure) in the C programming language. The tcphdr struct is used as a template to form a TCP header in a raw socket. The structure can be found in the default include files of most Unix distributions. It is most commonly located in the <netinet/tcp.h> header file. The tcphdr struct is unique in that it was written in two different formats, a BSD format and a Linux format. If you have a hybrid Linux/BSD header file, to use the BSD format, add #define __USE_BSD and #define __FAVOR_BSD at the very top of your definitions or as a compiler flag (e.g. gcc -D__USE_BSD -D__FAVOR_BSD), to ensure the flags are set before any use of #include <netinet/tcp.h>. Mac OS X systems include only BSD style, whereas Linux installations typically include both forms, making the BSD format more portable.

Данное издание не является оригинальным. Книга печатается по технологии принт-он-деманд после получения заказа.

Каталог