Setting dplay_port later

Posted By: JibbSmart

Setting dplay_port later - 07/27/11 19:52

According to the manual, dplay_port can only be set at the beginning of the main function and cannot be changed afterwards. Why's this? In my application (and I assume most) session_connect or session_create aren't performed on startup, and it'd be nice to let my users choose which port they will host through without having to restart the application.

Cheers,

Jibb
Posted By: jcl

Re: Setting dplay_port later - 08/01/11 08:19

You can in fact set dplay_port just before session_connect or session_create.
Posted By: JibbSmart

Re: Setting dplay_port later - 08/01/11 13:49

That's good info. Thanks very much! Perhaps this should be in the manual.

Jibb
© 2024 lite-C Forums