Revision 262b766b

View differences:

code/server/receive.c
211 211
    printf("sending to server\n");
212 212
    if (send(sock, send_buf, len+4, 0) != len+4) {
213 213
            printf("Mismatch in number of sent bytes");
214
            close(sock);
214 215
            return;
215 216
    }
216 217
    close(sock);

Also available in: Unified diff