I think that if you link your program with $TCP:WATC.SOCKETS.OBJ
you will not have to call anything special.
my 2 cents,
Xtian.
On 2021-06-20 15:27, Tom Chandler wrote:
> I am trying to port over a server program in "C", to MUSIC/SP using WATC?? In the AR guide, part-3
> page 228, the following is referenced:
>
> .If you wish to code socket application in C, you must include a call to CARGENV (no parameters required)
> in order to cause the socket routines to automatically convert the arguments passed to assembler calling
> conventions. In this case, use the normal C calling conventions as defined by the SOCKET.HDR header file.
>
> I can find NO reference anyway else about CARGENV.? and of course by server program will not work
> on MUSIC/SP.? Any direction or info on how to use or where to find info on CARGENV, would be
> very helpful.
>
> Thank You
> Tom c
>