Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by glenn (Scribe)
on Oct 17, 2014 at 15:45 UTC ( #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? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2021-10-24 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?