Ok thanks, it's a bad news for me... but now i know :)
I thought that also with stream i can access to ip header... so the results are sadly casual number :(
One of my objectives it's to avoid root...
Type: Posts; User: C4nc3l; Keyword(s):
Ok thanks, it's a bad news for me... but now i know :)
I thought that also with stream i can access to ip header... so the results are sadly casual number :(
One of my objectives it's to avoid root...
Thanks for the response.
Ehm no, i've created a SOCK_STREAM with:
socket(AF_INET, SOCK_STREAM, 0)
I don't want to use RAW socket because they ask for root permissions... this can be a problem?...
Hi all,
I'm searching for a way to calculate distance between two host in my C program.
I have an already open TCP socket, so i would like to use the ttl in ip header from that connection, but...
Thanks to all, when i read with strlen(buf) to get the number of bytes read i only want to get a statistic control on the bytes read..., it's not to retrieve the size of the file, these line of code...
Sorry, i didn't want to busy you with my code it's about 100 lines of idiot comments and prints :)
How can i use binary mode?
I read/write with fread/fwrite and i use a buffer of unsigned char......
Hi, i have created a function to split a file in 10kb blocks with fread and fwrite.
If i try to use it with a txt file it works, but if i try to use it with a binary file the file isn't the same...
I think IPblock is a nice tool...but... don't start in my pc :(
When i try
sudo ipblock start and also in GUI it start to work but it never turns to enabled...
In command line it leaves me with ...