cen Posted May 24, 2012 Posted May 24, 2012 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!
Skitty Posted May 24, 2012 Posted May 24, 2012 Use WINHTTP. There's a UDF made be Trancexx and Progandy. Google it.
cen Posted May 24, 2012 Author Posted May 24, 2012 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now