T
Tom Kent
I'm not a huge expert on UDP or sockets, so I was hoping someone could help
me out.
I have a C# app that sends three large (3KB) unicast datagrams out at user-
defined intervals (when they push a button) so this can happen every couple
seconds or every several minutes. Anyway, every time the application sits
for a few minutes and then the user tries to send, the first of the three
datagrams does not get to the recipiant. However, the socket does not
error and indicates that the correct number of bytes was sent.
I believe this also happens the first time after I startup. However, it
doesn't seem that re-starting the application changes the situation. (I
can restart and hit send within a few seconds and all three get through).
I'm not sure what other data would be useful in figuring this out, let me
know if there's anything important I'm missing.
Thanks!
Tom
P.S. Does the SetSocketOption KeepAlive have anything to do with this? I
was only able to find examples of it being used with TCP.
me out.
I have a C# app that sends three large (3KB) unicast datagrams out at user-
defined intervals (when they push a button) so this can happen every couple
seconds or every several minutes. Anyway, every time the application sits
for a few minutes and then the user tries to send, the first of the three
datagrams does not get to the recipiant. However, the socket does not
error and indicates that the correct number of bytes was sent.
I believe this also happens the first time after I startup. However, it
doesn't seem that re-starting the application changes the situation. (I
can restart and hit send within a few seconds and all three get through).
I'm not sure what other data would be useful in figuring this out, let me
know if there's anything important I'm missing.
Thanks!
Tom
P.S. Does the SetSocketOption KeepAlive have anything to do with this? I
was only able to find examples of it being used with TCP.