asyncnet.nim: Minor code cleanup
This commit is contained in:
parent
2fae94cdc5
commit
315d438677
1 changed files with 4 additions and 4 deletions
|
|
@ -112,7 +112,7 @@ when defineSsl:
|
||||||
type
|
type
|
||||||
# TODO: I would prefer to just do:
|
# TODO: I would prefer to just do:
|
||||||
# AsyncSocket* {.borrow: `.`.} = distinct Socket. But that doesn't work.
|
# AsyncSocket* {.borrow: `.`.} = distinct Socket. But that doesn't work.
|
||||||
AsyncSocketDesc = object
|
AsyncSocketDesc = object
|
||||||
fd: SocketHandle
|
fd: SocketHandle
|
||||||
closed: bool ## determines whether this socket has been closed
|
closed: bool ## determines whether this socket has been closed
|
||||||
case isBuffered: bool ## determines whether this socket is buffered.
|
case isBuffered: bool ## determines whether this socket is buffered.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue