开云体育

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

Re: server programming in "C"


 


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.