Commit Graph

11 Commits

Author SHA1 Message Date
David Anderson 8857f357f7 *** empty log message ***
svn path=/trunk/boinc/; revision=6158
2005-05-14 19:45:24 +00:00
Eric J. Korpela 90d49a7d91 Modified the BOINC_GETSOCKOPT_TYPE macro so it determines the proper type of
parameter 5 to getsockopt() by using the compiler.  The macro was in danger of
becoming an ever expanding list of case statements, since some platforms use
socklen_t, others use size_t, and still others use int.  Some aren't even
consistent from OS rev to OS rev.

A macro BOINC_SOCKLEN_T is set in config.h to indicate the proper type.  This
is typedef to be boinc_socklen_t in lib/network.h.  The special cases for
__APPLE__ and WIN32 can probably be removed at a later time.  Places where
socklen_t was used have been changed to boinc_socklen_t.

Also added double inclusion protection to network.h

svn path=/trunk/boinc/; revision=6055
2005-05-06 01:54:00 +00:00
David Anderson 27aacefb20 *** empty log message ***
svn path=/trunk/boinc/; revision=6043
2005-05-05 18:59:55 +00:00
David Anderson 64b871f819 *** empty log message ***
svn path=/trunk/boinc/; revision=5962
2005-04-28 23:19:58 +00:00
David Anderson 50bf271c72 *** empty log message ***
svn path=/trunk/boinc/; revision=5817
2005-04-10 00:16:20 +00:00
David Anderson cd1dccd849 *** empty log message ***
svn path=/trunk/boinc/; revision=5813
2005-04-08 23:40:50 +00:00
David Anderson 4aeb37a776 *** empty log message ***
svn path=/trunk/boinc/; revision=5735
2005-03-30 00:01:34 +00:00
David Anderson da9f04ebe0 *** empty log message ***
svn path=/trunk/boinc/; revision=5734
2005-03-29 23:56:50 +00:00
David Anderson 3db6811909 *** empty log message ***
svn path=/trunk/boinc/; revision=5580
2005-03-08 00:34:49 +00:00
David Anderson 2944a46d99 *** empty log message ***
svn path=/trunk/boinc/; revision=5575
2005-03-07 21:19:09 +00:00
David Anderson f6f07b81c6 *** empty log message ***
svn path=/trunk/boinc/; revision=5573
2005-03-07 06:09:04 +00:00