Don't know what was said in the lecture, but I guess
it was an example for something that shouldn't be done.
You can't use free with a pointer to the middle of an
allocated area, it causes segmantation fault (as you noticed).
Ido
-Original Message-
From: Haifux - Haifa Linux Club
Great idea.
I think this might be interesting and useful also to people which are not
usually into Linux.
-Original Message-
From: Haifux - Haifa Linux Club
[mailto:[EMAIL PROTECTED] Behalf Of Oron Peled
Sent: Wednesday, January 19, 2005 12:12 AM
To: haifux@haifux.org
Subject:
seems interesting
-Original Message-
From: Haifux - Haifa Linux Club
[mailto:[EMAIL PROTECTED] Behalf Of Muli Ben-Yehuda
Sent: Saturday, January 08, 2005 7:05 PM
To: haifux@haifux.org
Subject: [Haifux] Xen and the art of giving talks
Dear Haifuxians,
Would you care to hear
Just a note about the haifux-ping-send-recv.c shown in the
lecture yesterday.
The reason it worked even when running ping -f on the machine is
that there was no context switch between the socket creation and the sendto call, so
the packet we send and the
answer we get are entered first into our