Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    POE::Component::Proxy::MSN 0.02

    Download button

    No screenshots available
    Downloads: 421  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    David Davis | More programs
    Perl Artistic License / FREE
    March 8th, 2007, 07:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    POE::Component::Proxy::MSN description

    POE::Component::Proxy::MSN is a POE Component that is an MSN Messenger proxy.

    POE::Component::Proxy::MSN is a POE Component that is an MSN Messenger proxy.

    SYNOPSIS

    use POE qw(Component::Proxy::MSN);

    # spawn MSN session
    POE::Component::Proxy::MSN->spawn(
    alias => 'msnproxy', # Optional, default
    ip => 'any', # Optional, ip to bind to or any (default)
    port => 1863, # Optional, default
    msn_server => '207.46.106.79', # Server to connect to, not optional
    msn_port => 1863, # Just leave this at 1863, not optional
    );

    # register your session as MSN proxy observer in _start of a new session
    POE::Session->create(
    inline_states => {
    _start => sub {
    $_[KERNEL]->post(msnproxy => 'register');
    }
    msn_logged_in => sub {
    my ($kernel, $cmd) = @_[KERNEL, ARG0];
    # tell them they are on the proxy, this is called when they log in
    if ($cmd->{data} =~ m/(S+@S+)/) {
    $kernel->post(msnproxy => toast => {
    text => "MSN Proxy Active",
    site_url => 'http://teknikill.net/?MSNProxy',
    action_url => '/',
    options_url => '/',
    # not speciying email will toast all users
    email => $1, # email targets a specific user that is logged in
    });
    }
    },
    }
    );

    $poe_kernel->run;

    POE::Component::Proxy::MSN is a POE component that proxys the MSN Messenger service and allows you to send your own notifications (toasts).

    Requirements:

    · Perl



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    POE Component | MSN Messenger proxy | Perl module | POE::Component::Prox | POE | Component



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM