开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: server programming in "C"


 

I will try the change, but I found this, now to figure out how,what,when....


CARGCALL ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? This subroutine is intended for C programmers calling TCP/IP socket ? ? ? ?
? routines.? When called before the first socket routine, it guarantees that
? the arguments are passed in the manner C requires. ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
CALLING SEQUENCE: ?CALL CARGCALL(); ? ? ? ??
I think I am not linking to the correct MUSIC/SP library.
Got to learn more about compile time libraries.

The above was found in? the help menu, system subroutines.

Still working on it.
Cheers
Tom c
? ? ? ? ? ? ? ? ? ? ??

Virus-free.


On Mon, Jun 21, 2021 at 11:13 AM Peter Coghlan <groups@...> wrote:
>
> The change did not compile, something about a LVALUE needed.? BUT, I think
> you are on the right track.? See below from ar_pf3 manual:
>

In that case, you probably need something more complex than adding an &.
Maybe something like this:

int family = AF_INET;
int type = SOCK_STREAM;
int zero = 0;

sock = socket (&family, &type, &zero);

Regards,
Peter Coghlan.





Join [email protected] to automatically receive all group messages.