> Yep, but host and h are both fields of Socket, no?
No. In example in manual Socket datatype has only field h. Getter and setter procs host() and host= are ordinary procs which do access field h. The proc name notation "host=" is only syntactic sugar for making using it easier, as it looks like plain assignment.
