Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.arcetri.astro.it/irlab/doc/library/linux/khg/HyperNews/get/khg/186.html
Дата изменения: Thu Mar 23 12:37:48 2000
Дата индексирования: Wed Sep 15 00:50:38 2010
Кодировка:

Поисковые слова: запрещенные спектральные линии
Difference between SOCK_RAW SOCK_PACKET The HyperNews Linux KHG Discussion Pages

Question: Difference between SOCK_RAW SOCK_PACKET

Forum: The Linux Kernel Hackers' Guide
Date: Wed, 07 Jan 1998 14:23:15 GMT
From: Chris Leung <eg_lch@stu.ust.hk>

We are doing a project that required us to change some
chatacteristics of the TCP protocols and/or add a buffer
into the TCP layer also. It seems to us that the SOCK_RAW or
SOCK_PACKET are good choice to override the TCP or even
IP level of the networking software.
Unfortunately, we cannot find any documents or sample programs
about SOCK_RAW or SOCK_PACKET... :~( 
Please help us out ~~~~~~