[gnet] Question about gnet echoserver-gserver example
- From: "yinglcs2 yahoo com" <yinglcs2 yahoo com>
- To: gnet lists gnetlibrary org
- Subject: [gnet] Question about gnet echoserver-gserver example
- Date: Tue, 28 Mar 2006 13:07:39 -0800 (PST)
i am reading
and I have a question below in the gnet
echoserver-gserver example:
signal (SIGINT, ob_sig_int);
/* Start the main loop */
g_main_run(main_loop);
why we signal 'SIGINT' before the main loop?
and the implementation of ob_sig_int is the *DELETE*
the ob_server? Why we do that? why delete teh
ob_server before the main loop?
Thank you,
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]