>This may be the solution to both problems. Let me see if I understand
>you correctly. The variant create would take just the Context, and
>then before the SSLPort becomes useful, you call listen_fd() and then
>set the callback?

Yes, or maybe set the callback before listen_fd().  In any case the
callback field seems to be externally accessible, so there is nothing
preventing you from setting it after create() returns.
  • Run... Chris Angelico
    • ... Henrik Grubbström (Lysator) @ Pike (-) developers forum
      • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
    • ... Chris Angelico
      • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
      • ... Henrik Grubbström (Lysator) @ Pike (-) developers forum
      • ... Chris Angelico

Reply via email to