  TCP/IP (UCX) code examples? 
 The Question is:
 
Our company uses the DEC Alpha to code a model
for our simulator products. The compiler that
we use is Fortran.
 
This model communicates to a PC interface via
com links.
 
Now our product is progressing we now wish to
code our model so it communicates over the
network using tcpip, thus getting rid of the
cables.
 
Is there somewhere where I could obtain sample
code to initiate a TCPIP server to send packets
to the PC interface.
 
Basically the pc sends a request for information
the model processes it and then sends it back to
the PC.
 
If you could supply me with some sample Fortran
code or some information on how to go about it
I would be greatful.
 
 
 
 The Answer is:
 
  Assuming TCP/IP Services for OpenVMS (UCX) is the transport, example TCP/IP
  source code is included in UCX$EXAMPLES:, among other places.  (Both Macro32
  and C examples are available in the directory.)
 
  With Fortran, you will largely be paralleling what the Macro32 example code
  is doing, particularly around the use of the sys$qio interface to access the
  IP transport.  (C has native C library routines that access TCP/IP directly,
  though C programmers can also use the sys$qio interface.)
 
  With a software support contract, you can also access DSN/DSNlink, and check
  for the example code that is available there.  (DSN has a wide variety of
  example modules, and these are written in a number of different languages.)
 
