<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="linestyle1 colourline" style="font-family: Consolas, 'Lucida Console', monospace; text-indent: -7px; padding-left: 7px; word-wrap: break-word; font-size: 13px;">Hi,</div><div class="linestyle1 colourline" style="font-family: Consolas, 'Lucida Console', monospace; text-indent: -7px; padding-left: 7px; word-wrap: break-word; font-size: 13px;"><br></div><div class="linestyle1 colourline" style="font-family: Consolas, 'Lucida Console', monospace; text-indent: -7px; padding-left: 7px; word-wrap: break-word; font-size: 13px;">First thanks for the nice library!</div><div class="linestyle1 colourline" style="font-family: Consolas, 'Lucida Console', monospace; text-indent: -7px; padding-left: 7px; word-wrap: break-word; font-size: 13px;"><br></div><div class="linestyle1 colourline" style="font-family: Consolas, 'Lucida Console', monospace; text-indent: -7px; padding-left: 7px; word-wrap: break-word; font-size: 13px;">I’ve a question related to tweaking the timeout on connect.</div><div class="linestyle1 colourline" style="font-family: Consolas, 'Lucida Console', monospace; text-indent: -7px; padding-left: 7px; word-wrap: break-word; font-size: 13px;"><br></div><div class="linestyle1 colourline" style="font-family: Consolas, 'Lucida Console', monospace; text-indent: -7px; padding-left: 7px; word-wrap: break-word; font-size: 13px;">I'd like the connection attempt to timeout, i.e. get DISCONNECT event, asap in the case of the "server" is missing, i.e. the peer host is not available.</div><div class="linestyle1 colourline" style="font-family: Consolas, 'Lucida Console', monospace; text-indent: -7px; padding-left: 7px; word-wrap: break-word; font-size: 13px;"><br></div><div class="linestyle1 colourline" style="font-family: Consolas, 'Lucida Console', monospace; text-indent: -7px; padding-left: 7px; word-wrap: break-word; font-size: 13px;">I've played with enet_peer_timeout(), setting different values on the peer returned from enet_host_connect() call, but this is w/o any effect - I get the DISCONNECT event after 60 seconds, no matter what values I pass to enet_peer_timeout().</div><div class="linestyle1 colourline" style="font-family: Consolas, 'Lucida Console', monospace; text-indent: -7px; padding-left: 7px; word-wrap: break-word; font-size: 13px;"><br></div><div class="linestyle1 colourline" style="font-family: Consolas, 'Lucida Console', monospace; text-indent: -7px; padding-left: 7px; word-wrap: break-word; font-size: 13px;">Do I miss something? Is this the correct way to tweak the connect timeout?</div></body></html>