homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gangesmaster
Recipients
Date 2006年05月05日.13:43:05
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=1406776
i don't think so:
according to http://www.sockets.com/winsock.htm#GetSockOpt
and
http://www.gnu.org/software/libc/manual/html_node/Socket_002dLevel-Options.html
struct linger is defined this way:
struct linger {
	int	l_onoff;
	int	l_linger;
}
which means 8 bytes, and the same goes for struct timeval:
struct timeval {
 long tv_sec;
 long tv_usec;
};
still, the getsockopt returns only 4. i looked at the python
source but i can't find the bug... perhaps its a bug with
how they use winsock?
-tomer
History
Date User Action Args
2007年08月23日 14:39:49adminlinkissue1482328 messages
2007年08月23日 14:39:49admincreate

AltStyle によって変換されたページ (->オリジナル) /