Funnily enough, I considered Net::HTTPTunnel, but that needs another HTTP proxy that does the CONNECT. From your description, I thought that this was not an option for you. However, if you have such a proxy on your corporate network, and such use of it is allowed, you can use Net::HTTPTunnel to create a local socket on your workstation you can connect Trillian to (although you could just as easily use that hypothetical corporate proxy directly).

Translating IM messages into HTTP requests - as you are proposing - is possible, but it's a bit like getting a camel to sleep on a trampoline - it will work, but it's extremely awkward, both for you and the camel (not to mention the trampoline). The problem with IM traffic is that it is not just you requesting stuff, as in HTTP, but also the server sending you things on its own initiative. That will not work in HTTP, unfortunately, unless the IM server supports some kind of store and forward scheme for messages, which you can then poll regularly. But I have no knowledge of servers like that, so I cannot help you there.

CU
Robartes-


In reply to Re^3: HTTP::Proxy and Trillian by robartes
in thread HTTP::Proxy and Trillian by gryphon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.