The example from the tutorial is a bit misleading, try the updated [version from the language manual](https://nim-lang.org/docs/manual.html#procedures-properties) instead. The _host_ field of a _Socket_ object is invisible to code from a different module, but the tutorial example code accesses it directly from **within the same module** with _s.host = 34_.
- Question regarding the setter method/proc pgmf
- Re: Question regarding the setter method/proc pgmf
- Re: Question regarding the setter method/proc Lando
- Re: Question regarding the setter method/proc rajydv23