Logistics of Send packet #155
Unanswered
thekioskman
asked this question in
[Project Q&A] 2. Transport Layer (TCP)
Replies: 1 comment 2 replies
-
KENS sends |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Based on my understanding of https://github.com/ANLAB-KAIST/KENSv3/wiki/Tip:-Sending-and-Receiving-a-Packet
It appears that sendPacket("IPv4" , packet) only takes "IPv4" as the first input rather than an actual IP address. Does this mean that every machine receives every packet that is sent out by every other machine in packetArrived() and the code in packet arrived needs to figure out if this packet is destined to be sent to this host? Rather than targeted sending where each host only receives packets that are destined for that host.
Or am I misunderstanding and "IPv4" is just a place holder for an actual IPv4 address.
Beta Was this translation helpful? Give feedback.
All reactions