[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::decc

Title:DECC
Notice:General DEC C discussions
Moderator:TLE::D_SMITHNTE
Created:Fri Nov 13 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2212
Total number of notes:11045

2195.0. "Socket descriptor propagation question" by PRSSOS::COSTEUX (Le Plat Pays qui est le mien...) Tue May 20 1997 06:37

    A customer states that on the DECC-V4.0 documentation ("exec
    processing" on chapter 5-2-1) one mention that the sockets descriptors are
    not dupplicated from the parent process to the child process. On the
    DECC-V5.3 this restriction is no more mentioned. Does it mean that with
    this version the sockets descriptors are now duplicated from the
    parent process to the child one ?
    
    Thanks for any advice.
    
    Jean-Pierre
    
T.RTitleUserPersonal
Name
DateLines
2195.1TLE::D_SMITHDuane Smith -- DEC C RTLTue May 20 1997 07:3317
    Jean-Pierre,
    
      Duplicating open files and sockets from the parent to the child
      process is a runtime function and depends more on the version of
      OpenVMS than the version of the compiler.  The headers and the
      documentation ship with the compiler, the runtime library with
      the operating system.
    
      Beginning in OpenVMS V7.0, sockets are duplicated in the child 
      process.  For those users and ISV's which need to support earlier
      versions of OpenVMS, the DEC C V5.6 compiler offers an object
      library called DECC$CRTL.OLB which is equivalent to the OpenVMS
      V7.1 object library (including socket inheritance).  This library
      is available only as an object library whose objects are linked
      with the application.
    
    Duane