Your `server` is `AsyncSocket`.

You can pass `port = Port(9000)` too.

Nim is style agnostic.

`bindAddr(server, Port(9000))` will work too.
    
    
    echo "a"
    echo("b")
    echo"c"
    "d".echo
    "e".echo()
    
    Run

Nim has 
[UFCS.](https://nim-lang.github.io/Nim/manual.html#procedures-method-call-syntax)

Reply via email to