iamjerrchen / p2p_messaging_network

0 stars 0 forks source link

Sort messages being received #12

Open iamjerrchen opened 6 years ago

iamjerrchen commented 6 years ago

Currently, messages being received in our connection isn't being examined. We blindly accept all messages even if we are not the intended recipient. We need to sort our messages into the local_incoming_msg queue, and other nodes' messages into a local_outgoing_msg queue.