From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,946d1d00a03d677,start X-Google-Attributes: gidfee84,public From: David Black <76360.3202@CompuServe.COM> Subject: DECnet socket option for username Date: 1995/12/08 Message-ID: <4a9fvb$nvf$1@mhafc.production.compuserve.com>#1/1 X-Deja-AN: 121268588 organization: Forest Computer Inc newsgroups: comp.unix.osf.osf1 We have a process which provides CTERM, FAL, and LAT services from non-DEC nodes to Phase IV DECnet nodes. Recently, we ported this code to an ALPHA/AXP and have begun the process of converting our process to use the Phase V DECnet interface provided on the Alpha. For FAL connections, we previously sent 8 bytes of connect data for the session control layer, followed by a 1-byte length and a username. On the Alpha, we place this data in the optdata_dn structure and call setsockopt(). Obviously, if the username + length exceed 8 characters, the username must be truncated before copying it - but the connection succeeds anyway. The online DECnet OSI documentation has been of no help in this area - are we missing something?