/*
- * $Id: icmp.cc,v 1.76 2002/10/21 05:49:59 adrian Exp $
+ * $Id: icmp.cc,v 1.77 2002/10/21 05:54:36 adrian Exp $
*
* DEBUG: section 37 ICMP Routines
* AUTHOR: Duane Wessels
return;
debug(37, 2) ("icmpSend: to %s, opcode %d, len %d\n",
inet_ntoa(pkt->to), (int) pkt->opcode, pkt->psize);
- x = send(icmp_sock, (char *) pkt, len, 0);
+ x = comm_send(icmp_sock, (char *) pkt, len, 0);
if (x < 0) {
debug(50, 1) ("icmpSend: send: %s\n", xstrerror());
if (errno == ECONNREFUSED || errno == EPIPE) {
/*
- * $Id: ipc.cc,v 1.31 2002/10/21 05:49:59 adrian Exp $
+ * $Id: ipc.cc,v 1.32 2002/10/21 05:54:36 adrian Exp $
*
* DEBUG: section 54 Interprocess Communication
* AUTHOR: Duane Wessels
return ipcCloseAllFD(prfd, pwfd, crfd, cwfd);
}
if (type == IPC_UDP_SOCKET) {
- x = send(cwfd, hello_string, strlen(hello_string) + 1, 0);
+ x = comm_send(cwfd, hello_string, strlen(hello_string) + 1, 0);
if (x < 0) {
debug(50, 0) ("sendto FD %d: %s\n", cwfd, xstrerror());
debug(50, 0) ("ipcCreate: CHILD: hello write test failed\n");
/*
- * $Id: wccp.cc,v 1.26 2002/10/21 05:45:30 adrian Exp $
+ * $Id: wccp.cc,v 1.27 2002/10/21 05:54:36 adrian Exp $
*
* DEBUG: section 80 WCCP Support
* AUTHOR: Glenn Chisholm
debug(80, 6) ("wccpHereIam: Called\n");
wccp_here_i_am.id = wccp_i_see_you.id;
- send(theOutWccpConnection,
+ comm_send(theOutWccpConnection,
&wccp_here_i_am,
sizeof(wccp_here_i_am),
0);
wccp_assign_bucket->id = wccp_i_see_you.id;
wccp_assign_bucket->number = wccp_i_see_you.number;
- send(theOutWccpConnection,
+ comm_send(theOutWccpConnection,
buf,
wab_len + WCCP_BUCKETS + cache_len,
0);