--- freem/src/io_socket.c	2025/03/09 15:20:18	1.2
+++ freem/src/io_socket.c	2025/03/22 18:43:54	1.4
@@ -1,23 +1,11 @@
 /*
- *                            *
- *                           * *
- *                          *   *
- *                     ***************
- *                      * *       * *
- *                       *  MUMPS  *
- *                      * *       * *
- *                     ***************
- *                          *   *
- *                           * *
- *                            *
- *
- *   io_socket.c
+ *   $Id: io_socket.c,v 1.4 2025/03/22 18:43:54 snw Exp $
  *    socket i/o support
  *
  *  
  *   Author: Serena Willis <snw@coherent-logic.com>
  *    Copyright (C) 1998 MUG Deutschland
- *    Copyright (C) 2020 Coherent Logic Development LLC
+ *    Copyright (C) 2020, 2025 Coherent Logic Development LLC
  *
  *
  *   This file is part of FreeM.
@@ -35,6 +23,16 @@
  *   You should have received a copy of the GNU Affero Public License
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *
+ *   $Log: io_socket.c,v $
+ *   Revision 1.4  2025/03/22 18:43:54  snw
+ *   Make STRLEN 255 chars and add BIGSTR macro for larger buffers
+ *
+ *   Revision 1.3  2025/03/09 19:14:25  snw
+ *   First phase of REUSE compliance and header reformat
+ *
+ *
+ * SPDX-FileCopyrightText:  (C) 2025 Coherent Logic Development LLC
+ * SPDX-License-Identifier: AGPL-3.0-or-later
  **/
 
 #include <stdio.h>
@@ -104,7 +102,7 @@ short msck_open (int channel, char *addr
 
     short i = channel + FIRSTSCK;   /* get index into io_sockets[] array */
 
-    finaddr = (char *) malloc (STRLEN * sizeof (char));
+    finaddr = (char *) malloc (256 * sizeof (char));
     NULLPTRCHK(finaddr,"msck_open");
 
     
@@ -125,10 +123,10 @@ short msck_open (int channel, char *addr
     
     if (ct == 1) {
 
-	family = (char *) malloc (STRLEN * sizeof (char));
+	family = (char *) malloc (256 * sizeof (char));
 	NULLPTRCHK(family,"msck_open");
 	
-        typ = (char *) malloc (STRLEN * sizeof (char));
+        typ = (char *) malloc (256 * sizeof (char));
 	NULLPTRCHK(typ,"msck_open");
 	
         strcpy (family, "IPV4");
@@ -138,7 +136,7 @@ short msck_open (int channel, char *addr
     if (ct == 2) {
         family = strtok (NULL, ":");
 
-	typ = (char *) malloc (STRLEN * sizeof (char));
+	typ = (char *) malloc (256 * sizeof (char));
 	NULLPTRCHK(typ,"msck_open");
 	
         strcpy (typ, "TCP");