<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Ico wrote:<br><br>> <br>> I just noticed you patched the source earlier today to fix stuck open<br>> socket--many thanks for doing this! It appears Linux does not like use<br>> of "char" for optVal in the setsockopt call but rather prefers int.<br>> Since the rest of the code treats optVal as an int anyhow this should<br>> provide an universal fix without having to also generate optLen or<br>> ifdefs. Can you test this on Windows as an alternative as that would<br>> make the code cleaner? In other words, keeping the old call and simply<br>> changing optVal to int as it is in its current version.<br>> <br><br>That's basically what I did, I just made that call the same as the other setsockopt calls in the code (which all work on Windows as well AFAIK). For some reason that was in a different style, it's all cut and pasted from different sources...<br>Today I'm on Debian, it works. Tonight will test Windows..<br><br>Martin<br><br><br>                                            </body>
</html>