Hi
i love network programming in linux, so you're not alone ;)
and yes, i have experience in linux socket programming.
encrypted
Type: Posts; User: Encrypted
Hi
i love network programming in linux, so you're not alone ;)
and yes, i have experience in linux socket programming.
encrypted
Hey thanks for the links, they were really helpfull
i got the error now.
For anyone interested:
You need a pseudo header in order to calculate the checksum properly.
That header contains 5...
Hi,
im pretty new to raw sockets and, obviously, im having a problem, take a look at this
Heres what tcpdump says
23:51:31.971322 (tos 0x0, ttl 64, length: 40) 192.168.***.***.23456 >...
Ok thanks,
i read beejs guide partly, but ill read the whole again.
Anyway, so the return value of the read and write call has to be checked.
And i have to read/write in a loop.
but is the...
Hi,
I made this little program, the purpose was for it to send a GET /index.html HTTP/1.0 to a httpd.
The only problem is, however, that although it makes a connection ( i see it with netstat...
yeah ok,
so man 3 printf it is ;)
encrypted
hi
you could use the command 'man'
like
$man printf
you mean something like that?
encrypted
Hi,
arent these declared in ctype.h ?
according to my reference they are.... http://www-ccs.ucsd.edu/c/
it just came to my mind ;)
encrypted
Thanks man :)
i got it working,
and btw is this what you suggested by error checking? :
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
Ok thanks,
but i have a problem now:
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
Ok, thanks
so the bottom line is; fopen() is standard
open() is a UNIX system call
encrypted
hi all,
i have a question,
whats the big difference between fopen() and open()?
what are the pro's and con's of both functions,
because you can open/wite/read files with both of them..
I...
Yeah, well i knew that void main() would give an error with gcc,
anyway 'int main()' is necessary because it becomes a standard to specify the return type right :)
thats what i wanted to know
...
Hi,
i know that main() returns an int,
but, check these out:
#include <stdio.h>
main()
Hey
First of all,
ANSI-C has 32 keywords right?
I found a table with 34 keywords ( and with the 16-bit keywords they were 49 :S )
Anyway, how do i find out if they are ANSI-C
or better,...
Cool,
Nederlanders :p
Laat ik erg nog een vraagje achter plakken:
functies zoals getch, getche en getchar zijn toch allemaal wel ANSI-C?
Dit omdat gcc de functie getch(e) niet herkent...
Ok man
Thank You
Hi,
First my code:
#include <stdio.h>
main()
{
Maby a stupid question,
but is this all?
if yes.
#include <stdio.h> isnt there place it above the #define's
hope i helped
I see, so Assembler huh?
Thanks
Encrypted
Hi,
i was watching this code at www.netric.org
and i saw this:
Now, what is this? yeah shellcode, but what does it do?
and is it really all hex code?
thanks in advance
dude, you're funny :D:D:D:D:D:D
both you post and you're signature are funny as hell!!
im laughing out loud :P
Encrypted
Hi,
Thank you both for the replies,
and StarX, you seem to use structs in a different way i do, for example:
Anyway, i think i just found out some nice scenarios where structs are very...
Hi,
I just read this paper about unions and structs.
Now, what is the advantage of a union/struct???????
you can just declare a int if you want an int, float if you want a float and so on......