Search Results

Search: Posts Made By: sandcastle
Forum: Programming 02-14-2011
2,927
Posted By sandcastle
Thats why my tcpheader started at position 400 in...
Thats why my tcpheader started at position 400 in the packet, instead of position 20 :D. Thanks
Forum: Programming 02-14-2011
2,927
Posted By sandcastle
Right, the kernel didn't change anything. It was...
Right, the kernel didn't change anything. It was a pointer mistake. This line from the tutorial didn't work:
struct tcphdr *tcph = (struct tcphdr *) datagram + sizeof(struct ip);
and it worked...
Forum: Programming 02-13-2011
2,927
Posted By sandcastle
c++, raw sockets, stopping kernel write in header?
Hi, im trying to lern about raw sockets with my debian and c++. Tried to make a icmp and tcp packet and send it with sendto. Checked on wireshark and recognized that kernel changed my headers. So...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 02:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy