Search:

Type: Posts; User: Encrypted

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    4,696

    Hi i love network programming in linux, so...

    Hi

    i love network programming in linux, so you're not alone ;)
    and yes, i have experience in linux socket programming.

    encrypted
  2. Replies
    2
    Views
    3,701

    Hey thanks for the links, they were really...

    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...
  3. Replies
    2
    Views
    3,701

    Problem with Raw Sockets

    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 >...
  4. Replies
    3
    Views
    2,748

    Ok thanks, i read beejs guide partly, but ill...

    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...
  5. Replies
    3
    Views
    2,748

    Sending http request to httpd

    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...
  6. Replies
    7
    Views
    2,559

    yeah ok, so man 3 printf it is ;) encrypted

    yeah ok,
    so man 3 printf it is ;)

    encrypted
  7. Replies
    7
    Views
    2,559

    hi you could use the command 'man' like ...

    hi

    you could use the command 'man'
    like

    $man printf

    you mean something like that?

    encrypted
  8. Replies
    5
    Views
    2,773

    Hi, arent these declared in ctype.h ?...

    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
  9. Replies
    8
    Views
    13,780

    Thanks man :) i got it working, and btw is...

    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>
  10. Replies
    8
    Views
    13,780

    Ok thanks, but i have a problem now: ...

    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>
  11. Replies
    8
    Views
    13,780

    Ok, thanks so the bottom line is; fopen() is...

    Ok, thanks

    so the bottom line is; fopen() is standard
    open() is a UNIX system call


    encrypted
  12. Replies
    8
    Views
    13,780

    fopen() and open()

    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...
  13. Replies
    5
    Views
    1,543

    Yeah, well i knew that void main() would give an...

    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
    ...
  14. Replies
    5
    Views
    1,543

    main() question

    Hi,

    i know that main() returns an int,
    but, check these out:



    #include <stdio.h>

    main()
  15. Thread: Ansi-c?

    by Encrypted
    Replies
    3
    Views
    1,519

    Ansi-c?

    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,...
  16. Replies
    6
    Views
    1,714

    Cool, Nederlanders :p Laat ik erg nog een...

    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...
  17. Replies
    6
    Views
    1,714

    Ok man Thank You

    Ok man

    Thank You
  18. Replies
    6
    Views
    1,714

    fscanf() question

    Hi,

    First my code:



    #include <stdio.h>

    main()
    {
  19. Replies
    2
    Views
    1,579

    Maby a stupid question, but is this all? if...

    Maby a stupid question,
    but is this all?
    if yes.

    #include <stdio.h> isnt there place it above the #define's

    hope i helped
  20. Thread: Hex?

    by Encrypted
    Replies
    3
    Views
    2,012

    I see, so Assembler huh? Thanks Encrypted

    I see, so Assembler huh?
    Thanks

    Encrypted
  21. Thread: Hex?

    by Encrypted
    Replies
    3
    Views
    2,012

    Hex?

    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
  22. Thread: C compiler

    by Encrypted
    Replies
    5
    Views
    1,152

    dude, you're funny :D:D:D:D:D:D both you post...

    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
  23. Replies
    4
    Views
    1,549

    Hi, Thank you both for the replies, and StarX,...

    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...
  24. Replies
    4
    Views
    1,549

    Structs and Unions

    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......
Results 1 to 24 of 24