313
306
if (PR_Shutdown(sockfd, PR_SHUTDOWN_RCV) < 0) {
314
307
fprintf(stderr,"prsocket_test: ERROR - PR_Shutdown\n");
316
310
DPRINTF(("Serve_Client [0x%lx]: inbuf[0] = 0x%lx\n",PR_GetCurrentThread(),
317
311
(*((int *) in_buf->data))));
318
312
if (writen(sockfd, in_buf->data, bytes) < bytes) {