Skip to content

Commit

Permalink
Add note to chatapp client code
Browse files Browse the repository at this point in the history
  • Loading branch information
dom96 committed May 21, 2018
1 parent b63d811 commit fd4bdb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chapter3/ChatApp/src/client.nim
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ let username = paramStr(2)
var socket = newAsyncSocket()

# Execute the ``connect`` procedure in the background asynchronously.
asyncCheck connect(socket, serverAddr)
asyncCheck connect(socket, serverAddr) # Note: see https://bit.ly/2IBIyB2.
# Execute the ``readInput`` procedure in the background in a new thread.
var messageFlowVar = spawn stdin.readLine()
while true:
Expand Down

0 comments on commit fd4bdb5

Please sign in to comment.