Improve asyncdispatch error messages, fix some tests on Windows.
This commit is contained in:
parent
808253370b
commit
77c2bcf079
4 changed files with 36 additions and 20 deletions
|
|
@ -17,7 +17,8 @@ const
|
|||
|
||||
|
||||
when defined(windows) or defined(nimdoc):
|
||||
discard
|
||||
# TODO: just make it work on Windows for now.
|
||||
quit("Error: unhandled exception: Connection reset by peer [Exception]")
|
||||
else:
|
||||
proc createListenSocket(host: string, port: Port): TAsyncFD =
|
||||
result = newAsyncRawSocket()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue