Search:

Type: Posts; User: ankurcse

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    1,948

    Hi, Thnx all ot u, i got the answer, i...

    Hi,

    Thnx all ot u, i got the answer, i was using wrong option "rw", but somewhere i read this option. ok fine
  2. Replies
    11
    Views
    1,948

    ya i have checked, fd is set to 0

    ya i have checked, fd is set to 0
  3. Replies
    11
    Views
    1,948

    hi siavoshkc , i m not getting ur ques,...

    hi siavoshkc ,

    i m not getting ur ques, file "text" is regular file which should be created by "rw" option in fopen() .
  4. Replies
    11
    Views
    1,948

    Segmentation Fault

    In Linux platform:

    #include <stdio.h>
    #include <fcntl.h>

    int main()
    {
    FILE *fd ;

    fd = fopen( "text","rw" ) ;
  5. Replies
    6
    Views
    6,410

    Now i m writing key lines that clears program...

    Now i m writing key lines that clears program purpose, & i think u can make out some points from below lines: Client.c


    struct sockaddr_in serv_addr ;

    struct hostent *server ;

    char...
  6. Replies
    6
    Views
    6,410

    client-server program: segmentation fault

    HI,

    Hi,
    i made server program in c on linux, accepting portno as argument, and i made client program on same architecture accepting hostname & portno as arguments, but when i...
  7. Replies
    2
    Views
    2,024

    Thnx for ur reply, i got sufficient help.

    Thnx for ur reply, i got sufficient help.
  8. Replies
    2
    Views
    2,024

    Diff bet fopen() & open()

    Hi,
    what is diff bet fopen() & open, similarly fread() & read() so on...

    which is better & which is preferable.

    can any one explain with example
Results 1 to 8 of 8