Group: alt.games.diablo2 · Group Profile · Search for Socketing in alt.games.diablo2
Author: Kaytie
Date: May 14, 2010 03:34
Giro <giray.curgunlu@gmail.com> wrote: I've written an application using Raw sockets. And sending the complete Layer2 frame. sock = socket(PF_PACKET,SOCK_RAW,htons(ETH_P_ALL)) A call like ret = send(sock, buff, buff_size,0); should returns the number of trasferred bytes. So far so good. Now, If I call the same function when the NIC link is down (cable not plugged) then I receive
|