Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site reed.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!reed!keith From: keith@reed.UUCP (Keith Packard) Newsgroups: net.bugs.4bsd Subject: socket name length in /usr/include/sys/socket.h Message-ID: <1276@reed.UUCP> Date: Mon, 8-Apr-85 13:58:20 EST Article-I.D.: reed.1276 Posted: Mon Apr 8 13:58:20 1985 Date-Received: Wed, 10-Apr-85 05:26:58 EST Organization: Reed College, Portland, Oregon Lines: 17 I was wondering if anyone knew the origin of the 14 character limit for name length in /usr/include/sys/socket.h. This limit is not imposed by the kernel, some larger one is. I wrote a program that used socket names in a rather intimate way, using the fact that accept returns the name used to connect with, this program is being used by several people at once; I didn't want the name spaces to conflict so I didn't use /tmp/foobar or whatever. I used a directory in ~ and stuck socket names there. Problem is that 14 characters was a bit tight so I redeclared them to be 256 chars in a local copy of socket.h. Does anyone know either the actual kernel limit for name length or a reason why 14 characters is the limit in socket.h? keith packard ...!tektronix!reed!mote6!keith ...!tektronix!reed!keith ...!tektronix!azure!keithp