Jump to content

How can I open SSL Connection


Recommended Posts

Hi everyone,

I'm writting an IRC Chat client. I have written version 1 with normal IRC protocol (not SSL)

In version 2, I want to connect to IRC server using Secure Socket Layer (SSL). However, I could not find any solution in our forum and google.

This is my IRCConnect version 1 (normal IRC)

Func _IRCConnect ($server, $port, $nick)
    Local $i = TCPConnect(TCPNameToIP($server), $port)
    TCPSend($i, "NICK " & $nick & @CRLF)
    TCPSend($i, "USER " & $nick & " 0 0 " & $nick &@CRLF)
    Return $i
EndFunc

I think I must use an other connect funtion instead of "TCPConnect()" (st like TCPConnectEx() with an option is SSL). However, it do not exist.

Please give me some advice!

Thanks!

Link to comment
Share on other sites

Hi ApudAngelorum,

As I know, WINHTTP is a library which work with HTTP protocol and it support HTTPS. I need a lib working with IRC SSL or a function can connect SSL protocol.

The TrayIRC program also don't support SSL ;)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...