Attempt to fix Appveyor stuck bug.

This commit is contained in:
cheatfate 2018-10-27 17:57:41 +03:00
parent b055467e9c
commit 4df91648e3
1 changed files with 4 additions and 0 deletions

View File

@ -165,7 +165,9 @@ proc client6(transp: DatagramTransport,
var numstr = data[7..^1]
var num = parseInt(numstr)
var ans = "ANSWER" & $num
echo "Sending answer"
await transp.sendTo(raddr, ans)
echo "Answer sent"
else:
var err = "ERROR"
await transp.sendTo(raddr, err)
@ -192,7 +194,9 @@ proc client7(transp: DatagramTransport,
else:
var ta = initTAddress("127.0.0.1:33336")
var req = "REQUEST" & $counterPtr[]
echo "Sending request"
await transp.sendTo(ta, req)
echo "Request sent"
else:
var counterPtr = cast[ptr int](transp.udata)
counterPtr[] = -1