On Mon, 03 Feb 2014 15:13:41 GMT, Kelet wrote:

module app;

import vibe.core.core;
import core.thread;

int main()
{
    auto udp = listenUDP(0);
    udp.connect("127.0.0.1", 31722);
    udp.send(cast(ubyte[])"Test");
    return runEventLoop();
}

Code just continually runs, does not terminate despite connecting and sending if it can.

Dicebot told me that this is just the expected behavior. However, without the runEventLoop(), it does not terminate on Linux but it does on Windows. This is likely due to the different drivers being used. Ultimately, I'd just like it to terminate after it sends the packet while using a custom main.