This shows you the differences between two versions of the page.
public:howto:tcpwithssl [2007/11/28 16:04] geby created |
public:howto:tcpwithssl [2007/11/30 14:30] (current) |
||
---|---|---|---|
Line 39: | Line 39: | ||
sock.Connect('your.server.com','443'); | sock.Connect('your.server.com','443'); | ||
sock.SSLDoConnect; | sock.SSLDoConnect; | ||
- | if sock.lasterror &lt;&gt; 0 then //check for success start of SSL | + | if sock.lasterror <> 0 then //check for success start of SSL |
exit; | exit; | ||
sock.SendString('yourdata' + CRLF); | sock.SendString('yourdata' + CRLF); |