PA2: about format of packet #59
-
Dear TA, I'm trying to implement connect.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Yes, you should reserve space for the Ethernet and IP headers. The other fields are filled in KENSv3/src/Networking/IPv4/E_IPv4.cpp Lines 67 to 123 in c95d8f9 |
Beta Was this translation helpful? Give feedback.
Yes, you should reserve space for the Ethernet and IP headers.
But you don't fill all of their fields.
You only need to specify source and destination IP addresses.
The other fields are filled in
KENSv3/src/Networking/IPv4/E_IPv4.cpp
Lines 67 to 123 in c95d8f9