discard """ file: "tasyncssl.nim" cmd: "nim $target --hints:on --define:ssl $options $file" output: "500" """ import asyncdispatch, asyncnet, net, strutils, os when defined(ssl): var msgCount = 0 const swarmSize = 10 messagesToSend = 50 var clientCount = 0 proc sendMessages(client: AsyncSocket) {.async.} = for i in 0 ..