equal
deleted
inserted
replaced
14 NetworkUDP (const NetworkAddress &bind_addr); |
14 NetworkUDP (const NetworkAddress &bind_addr); |
15 |
15 |
16 private: |
16 private: |
17 void on_recv (void); |
17 void on_recv (void); |
18 |
18 |
|
19 CL_Signal_v2<const NetworkPacket &, const NetworkAddress> _sig_packet; |
|
20 |
19 public: |
21 public: |
20 bool sendto (const NetworkPacket &packet, const NetworkAddress &dst); |
22 bool sendto (const NetworkPacket &packet, const NetworkAddress &dst); |
21 |
23 |
22 CL_Signal_v2<const NetworkPacket &, const NetworkAddress> sig_packet; |
24 CL_Signal_v2<const NetworkPacket &, const NetworkAddress> sig_packet (void) { return _sig_packet; } |
23 }; |
25 }; |
24 |
26 |
25 #endif /* NETWORK_UDP_HH */ |
27 #endif /* NETWORK_UDP_HH */ |