mido3ds / c4ian Goto Github PK
View Code? Open in Web Editor NEWCommand, Control, Communications, Computing & Intelligence through Adhoc Networks
Command, Control, Communications, Computing & Intelligence through Adhoc Networks
Sometimes goraph breaks with an error "concurrent map reads and writes" probably due to a data race i.e multiple goroutines modifying/reading the graph concurrently.
The packets are received by the router at the destination correctly but the pings don't get a response. Probably ECHO_REPLY packets do not pass through our router.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x5c70a4]
goroutine 10 [running]:
time.(*Timer).Stop(...)
/usr/local/go/src/time/sleep.go:76
github.com/mido3ds/C4IAN/src/router/tables.(*Topology).Update(0xc000058000, 0x800000000a000001, 0xc000010090, 0x0, 0x0)
/home/mahmoud/study/gp/project/src/router/tables/Topology.go:116 +0x604
github.com/mido3ds/C4IAN/src/router/zhls.(*LSRController).sendIntrazoneLSR(0xc000058140, 0xc0000adf00)
/home/mahmoud/study/gp/project/src/router/zhls/LSR.go:85 +0x8c
github.com/mido3ds/C4IAN/src/router/zhls.(*UnicastController).listenForNeighborhoodChanges(0xc000058180)
/home/mahmoud/study/gp/project/src/router/zhls/UnicastController.go:42 +0x59
created by github.com/mido3ds/C4IAN/src/router/zhls.(*UnicastController).Start
/home/mahmoud/study/gp/project/src/router/zhls/UnicastController.go:36 +0x67
Sometimes Edges() function in Topology.go panics with an out of range error in the following line:
edges[i] = &myEdge{from, vertex.id, weight}
ping latency went from 2ms to 14ms
interzone branch, commit 864ea50
can't send unicast in same zone
using 3nodes.topo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.