Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

RFC: Bi-directional multi-client non-blocking TCP server/client

by glenn (Scribe)
on Oct 17, 2014 at 15:45 UTC ( [id://1104190]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use threads;
    use Thread::Queue;
    ...
        }
    });
    $com->enqueue("<message><to ip=\"IPADDR\"><data>INFO</data><anyfieldsy
    +ouwant>whatever</anyfieldsyouwant></message>");
    
  2. or download this
    package communication_server;
    
    ...
    #COMMUNICATION--------------------------------------------------------
    +----------------------------------
    
    1;
    
  3. or download this
    package communication_client;
    
    ...
    #COMMUNICATION--------------------------------------------------------
    +----------------------------------
    
    1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1104190]
Approved by hominid
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (None)
    As of 2024-04-25 04:02 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found