In my application i am using UdpClient class for communication between the PC and the device. There are 3 tabs, on click of each tab a WindowsFormsControlLibrary (a dll) is opened an on click of any button in these tabs a request to the
device is sent via udp socket and the device sends the response for the corresponding request. On receiving any response from the device the respective slot is called by the use of events and delegates. A thread is created to notify the respective
slots in the different tabs when some response is received. For every 1 second the device sends a response to indicate that the device is active. These responses are displayed in the datagridview in one of the tab.
The problem is some responses are lost and because of which the order of responses is not correct. The code is as shown below:
View Complete Post