I am trying to send data through DatagramSocket and would like to do this that if the data sent has exceeded the timeout of its acknowledgement then it should be resend.
Can we use the option of DatagramSocket.SetSoTimeout for it ?? If yes how can I ??
For eg
try
{
while(true)
{
socket.send(data);
}
}catch (SocketTimeoutException e)
{
// resend for which it occured
}
IS this possible to do ??