HerzogGallus_96
Patrick   Bayern, Germany
 
 
Just an average game-playing Guy. :steamhappy: Don't feed the troll(s).
------------------
bool RawSocket::open(const char* adapter)
{
// Open socket
socket = ::socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
if(socket == -1)
{
return false;
}

// Retrive current flags
int flags = fcntl(socket, F_GETFL);
if(flags == -1)
{
close();
return false;
}

// Add non blocking
flags |= O_NONBLOCK;
int result = fcntl(socket, F_SETFL, flags);
if(result == -1)
{
close();
return false;
}

// Bind to adapter
result = setsockopt(socket, SOL_SOCKET, SO_BINDTODEVICE, adapter, strlen(adapter));
if(result == -1)
{
close();
return false;
}

return true;
}
------------------
:steamthis: "HIER KÖNNTE IHRE WERBUNG STEHEN." :steamthis:
Đang trên mạng
Trò chơi yêu thích
Hoạt động gần đây
115 giờ được ghi nhận
chơi lần cuối lúc 3 Thg01
3,3 giờ được ghi nhận
chơi lần cuối lúc 29 Thg12, 2024
1,5 giờ được ghi nhận
chơi lần cuối lúc 28 Thg12, 2024
SONIC THE COOLEST 18 Thg12, 2024 @ 4:59pm 
-rep calims someone is tunneling when he was planning to save other survivors from the pallet or by flashlight you better expect i'm gonna search for you after someone got downed it's obvious.
Egg<3Blanket 16 Thg12, 2024 @ 1:59pm 
gg ez
Obersturmbanncomander 10 Thg12, 2024 @ 8:50pm 
+rep simply for the lack of a personal life
Sleepy Mita <3 Kuro 8 Thg12, 2024 @ 12:43pm 
bro you literally did nothing, 0 game sense, can't take a hit and you saying I am antimatexDD bro learn this game and stop shifting in every corner because you hear terror radius for a second
HerzogGallus_96 5 Thg12, 2024 @ 2:24pm 
@Obersturmbanncomander The Problem is: You are the coward
Obersturmbanncomander 5 Thg12, 2024 @ 2:10pm 
sick animal