-module(r). -record(sopts, {port, ip="127.0.0.1", max_connections=10, owner }). -compile(export_all). %%% def(X) -> #sopts{port=80, ip="192.168.0.1",owner=X}. %%% def1(P) -> #sopts{port=P, ip="192.168.0.1"}.