[cs631apue] Final template code question
jschauma at stevens.edu
Wed Nov 9 22:47:51 EST 2011
Rob Hoffmann <rhoffman at stevens.edu> wrote:
> I did notice __sws_debug, but in the sample it is used in swslib.c. From
> what I understand I need to be able to read it in main.c in order to
> limit the connections that are accepted in mainloop. So for example, in
> main.c I have:
Ah, I see.
Yeah, that's fine, let's make the struct swsopts global in main.c.
More information about the cs631apue