AndreiS

Untitled

Apr 18th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. void receive_message(int n, vector<node> routers){
  2.  
  3.  
  4. int received;
  5.  
  6. for(int i = 0; i < n; i++){
  7. char* message;
  8. received = endpoint[i].recv_protocol_message(message);
  9.  
  10. printf("Am primit mesajul: ");
  11. puts(message);
  12. puts("\n");
  13.  
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment