How to raise a boost::signal whenever a packet is recieved?
        Posted  
        
            by the_drow
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by the_drow
        
        
        
        Published on 2010-05-03T15:05:11Z
        Indexed on 
            2010/05/03
            15:08 UTC
        
        
        Read the original article
        Hit count: 300
        
I know that boost.asio has a mechanism that calls a callback function whenever a packet is received but is there an option to emit a signal instead?
Do I have to write a function that emits the signal?
If it is so, why?
© Stack Overflow or respective owner