<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Jul 27, 2018 at 9:30 PM Steven Schveighoffer via Digitalmars-d-learn <<a href="mailto:digitalmars-d-learn@puremagic.com">digitalmars-d-learn@puremagic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> <br>
> Maybe IOMode.immediate or .once? <br>
> <a href="https://vibed.org/api/eventcore.driver/IOMode" rel="noreferrer" target="_blank">https://vibed.org/api/eventcore.driver/IOMode</a><br>
<br>
Oh, it looks like you specified once. Hm... that seems to me like it <br>
should work.<br>
<br>
Looks like IOMode is ignored:<br>
<br>
<a href="https://github.com/vibe-d/vibe.d/blob/a9589d955f10bd076a67d47ace0c78cfd3aa8246/core/vibe/core/drivers/libevent2_tcp.d#L285" rel="noreferrer" target="_blank">https://github.com/vibe-d/vibe.d/blob/a9589d955f10bd076a67d47ace0c78cfd3aa8246/core/vibe/core/drivers/libevent2_tcp.d#L285</a><br>
<br>
So, no, there isn't a correct way to do this, it's unimplemented.<br>
<br>
-Steve<br></blockquote><div><br></div><div>It is implemented with vibe-core driver which should be default now</div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px"><a href="https://github.com/vibe-d/vibe-core/blob/fae7d3e93d00d9636632aa0acf9ebc19ed9f4a34/source/vibe/core/net.d#L665">https://github.com/vibe-d/vibe-core/blob/fae7d3e93d00d9636632aa0acf9ebc19ed9f4a34/source/vibe/core/net.d#L665</a></span> </div></div></div>