ok, problem solved. just need to wait before sending data. I don't know why: proc sendClientMsg (c: AsyncSocket) {.async.} = while true: waitFor sleepAsync(1000) let msg = stdin.readLine() echo "<- " & msg await c.send(msg & "\c\L")
- Need help with async client/server r3d9u11
- Re: Need help with async client/server monster
- Re: Need help with async client/server r3d9u11
- Re: Need help with async client/server r3d9u11
- Re: Need help with async client/server monster
- Re: Need help with async client/server mashingan
- Re: Need help with async client/serve... r3d9u11
- Re: Need help with async client/s... r3d9u11
- Re: Need help with async client/s... 2vg
- Re: Need help with async client/s... 2vg
- Re: Need help with async client/s... enthus1ast
- Re: Need help with async client/s... dom96
- Re: Need help with async client/s... dom96
- Re: Need help with async client/s... r3d9u11