MongooseWhere programmers kick back and build silly things together.

All help topics · Link to this topic

Showing help on 'connection_options()'

Syntax: connection_options (OBJ <conn> [, STR <option>]) => LIST | value

Returns option information for the active connection <conn>. If <option> is omitted, the result is a list of {option, value} pairs for all available connection options. If <option> is provided, only the value of that option is returned.

If <conn> is not a currently-active connection, then E_INVARG is raised. If <option> is provided and does not name an available option, then E_INVARG is raised. If the programmer is not <conn> or a wizard, then E_PERM is raised.

The returned options include server, task, and network connection options such as binary and other options supported by the current network configuration.