setsockopt: Add support for timeouts on W32
authorMartin Lambers <marlam@marlam.de>
Tue, 3 Feb 2009 06:30:20 +0000 (07:30 +0100)
committerSimon Josefsson <simon@josefsson.org>
Sun, 1 Mar 2009 16:38:26 +0000 (17:38 +0100)
Provide POSIX semantics for socket timeout options on W32.
 * lib/setsockopt.c: Convert struct timeval to milliseconds on W32.
 * lib/getsockopt.c: Convert milliseconds to struct timeval on W32.
 * modules/setsockopt: Depend on sys_time module for struct timeval.
 * modules/getsockopt: Depend on sys_time module for struct timeval.

Signed-off-by: Simon Josefsson <simon@josefsson.org>

No differences found