=============================================================================== 2012-12-18_20-36 After Json talk: Probe * sends packets / connections about nodes that are around * sends informations about nodes that are around distance, path ... * forwards informations about other probes Processing server * a graph out of network informations, which nodes are connected to which * has the state of all the network Visualisation client (small, no processing) * transfers full graph on connection * then graph updates, about nodes * push / pull ? =============================================================================== 2012-11-06_00-19 refer to architecture.xoj for big picture * libglouglou * viz clients * probes (trackproc, netsniff, fwsniff) =============================================================================== libglouglou/includes * protocol version * packet structure * common constants =============================================================================== libglouglou/lib * client and server code * tools /* * start a server * totaly unblocking, using libevent */ struct gg_server * gg_server_start(char *ip, int port, int (*handle_conn)(struct gg_server *s, int client_id, struct sockaddr_in *addr), int (*handle_packet)(struct gg_server *s, struct gg_packet *p)); int gg_server_send(struct gg_server *s, int client_id, struct gg_packet *p); void gg_server_stop(struct gg_server *s); /* * connect to a server * totaly unblocking, using libevent */ struct gg_client * gg_client_connect(char *ip, int port, int (*handle_conn)(struct gg_client *c, int status), int (*handle_packet)(struct gg_client *c, struct gg_packet *p)); int gg_client_send(struct gg_client *c, struct gg_packet *p); void gg_client_disconnect(struct gg_client *c);