While I can get /server -t to work on irc server supporting STARTTLS (such as swiftirc.net)

There seems to be a missing support for STARTTLS in the implementation with /sockopen -t.
Depending on the protocol used, the moment where the TLS handshake needs to occur is unknown to mIRC, but let's take an IRC server.

If i try to script /server -t with /sockopen -t, I need to send 'starttls' to the irc server before sending nick and user message, this message is sent non encrypted, it works, the server answer ":tardis.en.uk.SwiftIRC.net 670 * :STARTTLS successful, go ahead with TLS handshake" at which point the TLS handshake needs to occur but I don't know how mIRC could guess it's time, it seems to me I would need to indicate mIRC that now is the time.


Has anyone ever used /sockopen -t successfully? I believe we need a parameter on /sockwrite to initiate the handshake but not sure.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel