links · people · groups · tags | My: links · tags · groups · watchlists · notes login · sign up now! | help · blog
Simpy simpy
 
Michael Shook, member since May 27, 2004
.
Search Everyone: "ip",

Top "ip" experts: mrniceguy, fluff, jremmers, anuchit, intutum, belle7878,

Groups about "ip": SmartHide. Hide ip fast, Group 1, IP Phone Systems Australia, Internet Protocol, telecommunications, Telecommunications,

1 - 3 of 3   Watch mshook
 
/*send the packet*/
send_result = sendto(s, buffer, ETH_FRAME_LEN, 0, 
	      (struct sockaddr*)&socket_address, sizeof(socket_address));
if (send_result == -1) { errorhandling... }

Example 1.6. Receive a RAW ethernet frame

void* buffer = (void*)malloc(ETH_FRAME_LEN); /*Buffer for ethernet frame*/
int length = 0; /*length of the received frame*/ 
...
length = recvfrom(s, buffer, ETH_FRAME_LEN, 0, NULL, NULL);
if (length == -1) { errorhandling .... }
by mshook 2009-10-15 22:15 ethernet · 802 · packet · howto · code · mac · ip · c · example
http://aschauf.landshut.org/fh/linux/udp_vs_raw/ch01s03.html - cached - mail it - history
by mshook 2004-05-27 15:09 humor · copyright · ip
http://talkabout.editthispage.com/discuss/msgReader$122?mode=day - cached - mail it - history
1 - 3 of 3  
Related Tags
 
- exclude ~ optional + require
Add Dates