lars@spectrum.cmc.com (Lars Poulsen) (12/28/90)
I need to implement an X.25 address format version of the socket address structure. In scanning my header files, I notice an AF_X25 definition; but I don't think I have a structure definition of the actual layout. (1) Since an X.25 address is typically at most 14 digits long, it would be possible to just have 14 ASCII digits in the structure, with NULLs at the end, if the address is shorter. (2) Since an X.121 address can actually be 15 digits, it might be useful to have either a byte or a short with the number of digits, and then have the address in packed BCD code. Can anyone tell me what the INTENDED use of AF_CCITT or AF_X25 is ? I would hate to invent my own structure that was incompatible with everyone else's. -- / Lars Poulsen, SMTS Software Engineer CMC Rockwell lars@CMC.COM