Tool/software: TI C/C++ Compiler
I am working on enet_uip and it is working when i sends UDP packets via Packet sender.
What i want to do now is to send a Packet from the PC to the Microcontroller with Port Number 2048 but then send back a packet with different packet word length on port 2049 back to PC from Microcontroller.
So it should work like this.
PC -> MC (UDP packet on Port 2048 with message e.g Test_0)
but it should sent back packet now using Swap function where the MAC and IP addresses are swapped.
MC -> PC (UDP packet on Port 2049 with different message length like Test_12345)
What i have done is that the Swap function is working where i can swap the MAC and IP address in order to send back the packet from MC -> PC
But what i don't get is how to implement this in my Echo main function.
Any suggestions regarding this?????