Search:

Type: Posts; User: spencer88

Search: Search took 0.01 seconds.

  1. quick update: do{ n = read ( s,...

    quick update:



    do{
    n = read ( s, bufin, MAXBUF );
    (void) printf("Message recieved: %s\n", bufin);
    if(n < 0){
    perror("read");
    exit(-1);
  2. I changed the code in server.c to read ...

    I changed the code in server.c to read



    do{
    n = read ( s, bufin, MAXBUF );
    (void) printf("Message recieved: %s\n", bufin);
    }while(n != 0);
  3. Problem with simple socket client/server program

    I'm trying to write a simple program with two source files named client.c and server.c All it does is use sockets to connect a client to a server. The client types in a message and the server...
Results 1 to 3 of 3