Re: Using the SSL module.
Chris Angelico <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CAPTjJmrF3kLXnua9jNSWR14uHX6Aq+q-_U7H6EC4gcNFHr9jpQ@mail.gmail.com> |
On Tue, Jun 23, 2015 at 4:43 PM, Trilok Tourani <[email protected]> wrote: > okay got the certificate information. How do I proceed in connecting to this > port with pike? The tried it the same way you mentioned in your first mail. > But when I do ssl->write("....."); it just returns 0 every time. but when I > run sock->write("...."); it gives me some data. > You'll want to connect, then establish an SSL.File (or SSL.sslfile) around that socket. Once you have that, it should all work. See the earlier emails for examples, or you may have one already. ChrisA