| Subject: | re: Socket options KPI |
|---|---|
| From: | matthew green |
| Date: | Fri, 18 Jan 2008 23:51:36 UTC |
| Newsgroups: | fa.netbsd.tech.net |
> so_setsockopt: > Shouldn't valsize be the normal size_t? Does socklen_t really make sense > here? I vaguely remember there was a reason for this socklen_t... maybe the original FreeBSD changes. Anyway, I'm thinking it should be unsigned int, actually, to fit the len parameter to sys_setsockopt() and sys_getsockopt(), no? don't getsockopt/setsockopt take socklen_t? oh ouch. their manual pages claim socklen_t but their implementations use unsigned int. that should really be fixed. socklen_t is the right type. mrg. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Socket options KPI, Elad Efrat |
|---|---|
| Next by Date: | Re: Socket options KPI, Elad Efrat |
| Previous by Thread: | Re: Socket options KPI, Elad Efrat |
| Next by Thread: | Re: Socket options KPI, Elad Efrat |
| Indexes: | [Date] [Thread] [Top] [All Lists] |