Wireshark-dev: [Wireshark-dev] Clarifications regarding building wireshark

From: Ankish Shah <ankishshah998998@xxxxxxxxx>
Date: Mon, 16 Mar 2020 12:05:54 +0530
I've downloaded and built wireshark on Ubuntu machine and I was going through the documentation of building new dissectors.
I have a couple of doubts. 
1. When I write code for a new dissector, do I have to build the entire wireshark once again (it takes around 10-12 mins on my system), or is there any option to compile only the new files and see the results?
2. Once I code new dissectors, how do I test it using wireshark? For example, if you create a dissector to capture packets on port '12345' and the packet includes a flag bit and an ipv4 address, how do you actually create the packet, send it on port 12345 and see the results on wireshark?