/*
- * $Id: comm.cc,v 1.91 1996/10/15 04:58:25 wessels Exp $
+ * $Id: comm.cc,v 1.92 1996/10/19 07:25:13 wessels Exp $
*
* DEBUG: section 5 Socket Functions
* AUTHOR: Harvest Derived
return bytes_sent;
}
-int
-comm_udp_recv(int fd, char *buf, int size, struct sockaddr_in *from_addr, int *from_size)
-{
- int len = recvfrom(fd, buf, size, 0, (struct sockaddr *) from_addr,
- from_size);
- if (len < 0) {
- debug(5, 1, "comm_udp_recv: recvfrom failure: FD %d: %s\n", fd,
- xstrerror());
- return COMM_ERROR;
- }
- return len;
-}
-
void
comm_set_stall(int fd, int delta)
{
/*
- * $Id: neighbors.cc,v 1.69 1996/10/19 07:10:08 wessels Exp $
+ * $Id: neighbors.cc,v 1.70 1996/10/19 07:25:16 wessels Exp $
*
* DEBUG: section 15 Neighbor Routines
* AUTHOR: Harvest Derived
static int edgeWouldBePinged _PARAMS((edge *, request_t *));
static void neighborRemove _PARAMS((edge *));
-static edge *whichEdge _PARAMS((struct sockaddr_in *from));
+static edge *whichEdge _PARAMS((struct sockaddr_in * from));
static void neighborAlive _PARAMS((edge *, MemObject *, icp_common_t *));
static neighbors *friends = NULL;