Skip to main content

Ineed a copy of socket.def   solartoys@yahoo.com   thanks   bob

Ineed a copy of socket.def   solartoys@yahoo.com   thanks   bob

hi robert nerbovig which product are you referring to? I can move your post to the appropriate product discussion forum once you let me know


hi robert nerbovig which product are you referring to? I can move your post to the appropriate product discussion forum once you let me know

I am using acucobol and trying to compile sendmail.cbl and sendmails.cbl  I need socket.def  thanks...bob


I am using acucobol and trying to compile sendmail.cbl and sendmails.cbl  I need socket.def  thanks...bob

I'll move your post to the acucobol forum which can be found here: https://community.rocketsoftware.com/forums/forum-home?CommunityKey=78880ba8-1519-45f3-8d5e-01928efe3598 


Ineed a copy of socket.def   solartoys@yahoo.com   thanks   bob

      * SOCKET.DEF - Some useful definitions for C$SOCKET.
      * Last modified: 19-Oct-2001 RLZ.

      * Copyright (c) 1996-2014 by Micro Focus.  Users of ACUCOBOL
      * may freely include this file in their COBOL source code.


      * Opcodes for C$SOCKET
       78  AGS-CREATE-SERVER                   VALUE 1.
       78  AGS-ACCEPT                          VALUE 2.
       78  AGS-CREATE-CLIENT                   VALUE 3.
       78  AGS-CLOSE                           VALUE 4.
       78  AGS-WRITE                           VALUE 5.
       78  AGS-READ                            VALUE 6.
       78  AGS-FLUSH                           VALUE 7.
       78  AGS-EMPTY                           VALUE 8.
       78  AGS-GETHOSTNAME                     VALUE 9.
       78  AGS-LAST-ERROR                      VALUE 10.
       78  AGS-NEXT-READ                       VALUE 11.
       78  AGS-REMOTE-NAME                     VALUE 12.
       78  AGS-REMOTE-ADDR                     VALUE 13.
       78  AGS-READ-LINE                       VALUE 14.
       78  AGS-GETHOSTADDR                     VALUE 15.
       78  AGS_GETSOCKETPORT                   VALUE 16.

      * Error values
       78  AGS-EINTR                           VALUE 10004.
       78  AGS-EBADF                           VALUE 10009.
       78  AGS-EACCES                          VALUE 10013.
       78  AGS-EFAULT                          VALUE 10014.
       78  AGS-EINVAL                          VALUE 10022.
       78  AGS-EMFILE                          VALUE 10024.
       78  AGS-EWOULDBLOCK                     VALUE 10035.
       78  AGS-EINPROGRESS                     VALUE 10036.
       78  AGS-EALREADY                        VALUE 10037.
       78  AGS-ENOTSOCK                        VALUE 10038.
       78  AGS-EDESTADDRREQ                    VALUE 10039.
       78  AGS-EMSGSIZE                        VALUE 10040.
       78  AGS-EPROTOTYPE                      VALUE 10041.
       78  AGS-ENOPROTOOPT                     VALUE 10042.
       78  AGS-EPROTONOSUPPORT                 VALUE 10043.
       78  AGS-ESOCKTNOSUPPORT                 VALUE 10044.
       78  AGS-EOPNOTSUPP                      VALUE 10045.
       78  AGS-EPFNOSUPPORT                    VALUE 10046.
       78  AGS-EAFNOSUPPORT                    VALUE 10047.
       78  AGS-EADDRINUSE                      VALUE 10048.
       78  AGS-EADDRNOTAVAIL                   VALUE 10049.
       78  AGS-ENETDOWN                        VALUE 10050.
       78  AGS-ENETUNREACH                     VALUE 10051.
       78  AGS-ENETRESET                       VALUE 10052.
       78  AGS-ECONNABORTED                    VALUE 10053.
       78  AGS-ECONNRESET                      VALUE 10054.
       78  AGS-ENOBUFS                         VALUE 10055.
       78  AGS-EISCONN                         VALUE 10056.
       78  AGS-ENOTCONN                        VALUE 10057.
       78  AGS-ESHUTDOWN                       VALUE 10058.
       78  AGS-ETOOMANYREFS                    VALUE 10059.
       78  AGS-ETIMEDOUT                       VALUE 10060.
       78  AGS-ECONNREFUSED                    VALUE 10061.
       78  AGS-ELOOP                           VALUE 10062.
       78  AGS-ENAMETOOLONG                    VALUE 10063.
       78  AGS-EHOSTDOWN                       VALUE 10064.
       78  AGS-EHOSTUNREACH                    VALUE 10065.
       78  AGS-ENOTEMPTY                       VALUE 10066.
       78  AGS-EPROCLIM                        VALUE 10067.
       78  AGS-EUSERS                          VALUE 10068.
       78  AGS-EDQUOT                          VALUE 10069.
       78  AGS-ESTALE                          VALUE 10070.
       78  AGS-EREMOTE                         VALUE 10071.
       78  AGS-SYSNOTREADY                     VALUE 10091.
       78  AGS-VERNOTSUPPORTED                 VALUE 10092.
       78  AGS-NOTINITIALIZED                  VALUE 10093.
       78  AGS-EDISCON                         VALUE 10101.
       78  AGS-EUNKNOWN                        VALUE 10102.

      * Warning values
       78  AGS-HOST-NOT-FOUND                  VALUE 11001.
       78  AGS-TRY-AGAIN                       VALUE 11002.
       78  AGS-NO-RECOVERY                     VALUE 11003.
       78  AGS-NO-DATA                         VALUE 11004.

      * end of socket.def

This is the Version 9.2.2 socket.def I hope this helps.