chiark / gitweb /
Explain the `-U' and `-G' options.
[tripe] / peer.c
diff --git a/peer.c b/peer.c
index f60f887fc6e247a5778a3efa4e81e30360b25b27..541501cb763e5a64f8e204b6e76d39a3b01d3e4c 100644 (file)
--- a/peer.c
+++ b/peer.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: peer.c,v 1.5 2001/03/03 11:15:19 mdw Exp $
+ * $Id: peer.c,v 1.6 2001/06/19 22:07:59 mdw Exp $
  *
  * Communication with the peer
  *
@@ -29,6 +29,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: peer.c,v $
+ * Revision 1.6  2001/06/19 22:07:59  mdw
+ * Use magic number for packet size.
+ *
  * Revision 1.5  2001/03/03 11:15:19  mdw
  * Set the socket send and receive buffers to maximum.  At least this way,
  * we won't drop large packets on the floor.  If the administrator wants to
@@ -280,7 +283,7 @@ void p_init(unsigned port)
 {
   int fd;
   struct sockaddr_in sin;
-  int len = 65536;
+  int len = PKBUFSZ;
 
   /* --- Note on socket buffer sizes --- *
    *