Commit Graph

35 Commits

Author SHA1 Message Date
xdrm-brackets b245e6f623 [fix] Fixed conflicts between TCP server sockets (at thread launch each have its own socket, then it becomes the same, reference err) -> so memcpy the socket at launch) 2017-04-20 11:49:11 +02:00
xdrm-brackets 095706b24f [done] plane part to manage received IP/PORT from multicast group and connect to TCP socket.
[todo] still this f**king problem with thread conflicts when multiple planes connected!!!
2017-04-18 20:14:50 +02:00
xdrm-brackets d5f883add1 [updated] central-manager : 1. removed middleware for planes 2. instead thread that publishes over multicast UDP to planes every N seconds. 3. Added udp/client to central-manager
[todo] 1. Update `bind_header` flags to know if plane/vterm/cterm with combination + must ask for TCP/UDP (implicit) no need to say it
2017-04-18 20:06:14 +02:00
xdrm-brackets 8b0e2c05bf double `htons` replaced by `ntohs` for diff-indian compilers 2017-04-18 19:40:36 +02:00
xdrm-brackets d33b7e135a `make clean` works now for plane code 2017-04-18 19:34:10 +02:00
xdrm-brackets edad9a8f8f started multicast for planes 2017-04-18 10:36:32 +02:00
xdrm-brackets 070d0dd19d minmod 2017-04-18 10:21:10 +02:00
SeekDaSky d6ddbce375 Fix port transmission 2017-04-14 01:43:16 +02:00
xdrm-brackets ecb49e1117 Revert "[fix] pour l'incompetence des dev java"
This reverts commit c5b0056f67.
2017-04-13 20:43:45 +02:00
xdrm-brackets e270e47bc1 Merge branch 'master' of https://git.xdrm.io/xdrm-brackets/sysdis-project 2017-04-13 20:02:06 +02:00
xdrm-brackets c5b0056f67 [fix] pour l'incompetence des dev java 2017-04-13 20:01:56 +02:00
SeekDaSky d9556c876f le chie sur celui qui a eu l idee de ne pas gerer les unsigned en java 2017-04-13 19:57:30 +02:00
xdrm-brackets e190ac3008 [done] Gestion partielle réponse avion depuis SGCA [todo] gestion des requêtes d'update [todo] Fix car 2 avions en même temps entrent en collision (le dernier prend le dessus). 2017-04-12 10:32:48 +02:00
xdrm-brackets 791ca5ab09 [done] Gestion com plane 2-sides : envoi des données - [todo] gestion tampon + update avec flags 2017-04-12 09:57:59 +02:00
xdrm-brackets e1e8d56d0c [done] middleware `multicastPlane` FUNC + plane code for connection 2017-04-12 09:30:42 +02:00
xdrm-brackets f1fca736bd Délégation des middlewares [todo] middleware multicast pour avion 2017-04-11 19:12:34 +02:00
xdrm-brackets 63436afc35 Separated code between `main`, `middlewares` which creates a new socket (to do for UDP : copypaste the code from main to middlewares), and `handlers` which have the socket and do the actual management (communications) 2017-04-09 19:33:27 +02:00
xdrm-brackets 02989312d1 added headers 2017-04-09 18:56:11 +02:00
xdrm-brackets 726ab7b4e3 [done] Ajout timeout lors de création sockets + fonction de traitement dynamique pour chaque thread du type "LISTEN_" + debug TCP + fix `make clean` 2017-04-09 18:41:44 +02:00
xdrm-brackets 0c641726a8 [done] Passed all UDP terminal dispatchers to MULTICAST (224.0.0.2:4445 and 224.0.0.3:4446) to remove broadcast needs.[todo]{ udp multicast for plane + plane comm } 2017-04-09 16:06:31 +02:00
xdrm-brackets ab0fea9a14 [plane][done] multicast request (not tested) + init sequence + fetch ip/port by multicast then connect to given TCP (ref #1) 2017-04-08 19:25:44 +02:00
xdrm-brackets 61581e393d [plane] fix *** stack smashing detected *** (because time_t for random) + removed serializer 2017-04-08 18:37:14 +02:00
xdrm-brackets d2afb8f65e fix 2017-04-08 18:30:41 +02:00
xdrm-brackets 23af65d69e Update 2017-04-08 18:20:17 +02:00
xdrm-brackets 0dc72353cd update 2017-04-07 20:25:53 +02:00
xdrm-brackets b751266152 Reference #4 Reference #3 Gestion 2 serveurs UDP pour `vterm`/`cterm` reste à faire le UDP multicast + dispatch socket random udp fonctionne 2017-04-07 18:14:21 +02:00
xdrm-brackets 8cc7dcf06c Reference #7 + minmod 2017-04-06 20:08:45 +02:00
xdrm-brackets 0009aa269a [Done] UDP communication thread first step 2017-04-06 17:41:34 +02:00
xdrm-brackets 6c5aabae30 [in progress] udp redirection management 2017-04-06 13:36:51 +02:00
xdrm-brackets 470eaf2610 merge 2017-04-06 12:03:46 +02:00
xdrm-brackets df156c42f0 plane default code 2017-04-06 12:01:18 +02:00
MASCARO LUCAS d647392d99 Implémentation de la connection/handshake pour les terminaux de commande 2017-04-05 10:19:59 +02:00
xdrm-brackets 7b2caf39b6 Update 2017-04-03 18:04:57 +02:00
xdrm-brackets 94c4769241 Lib tcp/udp in progress 2017-04-01 17:01:36 +02:00
xdrm-brackets b41a8d304f First commit <xdrm-brackets:proxy.ftp.c> Import 2017-03-28 18:51:26 +02:00