On Mon, 24 Nov 2014 16:19:52 GMT, Suliman wrote:

Strange! I tested it on my home PC and there is no any problems like above. But there is another issue:

The following changes will be performed:
Fetch libevent >=2.0.1+2.0.16 <2.1.0, userWide
Fetch vibe-d >=0.7.17, userWide
Fetch openssl >=1.0.0+1.0.0e, userWide
Fetch libev >=4.0.0+4.04 <4.1.0, userWide
Fetching libevent 2.0.1+2.0.16...
Fetching libevent 2.0.1+2.0.16...
Error executing command run: Failed to download http://code.dlang.org/packages/l
ibevent/2.0.1%252B2.0.16.zip: 404 Not Found

How to fix it?

This is an issue with your version of dub with a buggy url encoding metho. Download the latest at code.dlang.org

As for the other problem, you seemed to be missing a semicolon after your statement. (conn) { conn.write(...); }