![]() Chapter Contents  | 
![]() Previous  | 
![]() Next  | 
| Porting UNIX Socket Applications to the SAS/C Environment | 
Because the socket functions are integrated with the
existing SAS/C Library and are not add-on features, many of the incompatibilities
of other OS/390 and CMS socket implementations have been avoided.  For example,
there are no requirements for additional header files that are specific to
OS/390 or CMS environments; 
errno
, and not some other variable specific to OS/390 or CMS, is used for
socket function error codes, and the 
close
, 
read
, and 
write
 calls operate on both files
and sockets, just as they do in a UNIX operating system.
![]() Chapter Contents  | 
![]() Previous  | 
![]() Next  | 
![]() Top of Page  | 
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.