Click here to Skip to main content
15,902,112 members
Home / Discussions / C#
   

C#

 
GeneralRe: SQL Insert procedure called from C# Pin
Luc Pattyn27-Dec-10 10:48
sitebuilderLuc Pattyn27-Dec-10 10:48 
GeneralRe: SQL Insert procedure called from C# Pin
Tvalone27-Dec-10 11:17
Tvalone27-Dec-10 11:17 
GeneralRe: SQL Insert procedure called from C# PinPopular
Luc Pattyn27-Dec-10 11:59
sitebuilderLuc Pattyn27-Dec-10 11:59 
QuestionCalling unmanaged function from C# with the paramater of type BSTR* (pointer to BSTR) Pin
martinergb27-Dec-10 7:51
martinergb27-Dec-10 7:51 
AnswerRe: Calling unmanaged function from C# with the paramater of type BSTR* (pointer to BSTR) Pin
Luc Pattyn27-Dec-10 10:26
sitebuilderLuc Pattyn27-Dec-10 10:26 
AnswerRe: Calling unmanaged function from C# with the paramater of type BSTR* (pointer to BSTR) Pin
_Erik_27-Dec-10 15:09
_Erik_27-Dec-10 15:09 
QuestionUDP Send Interval Pin
softwarejaeger27-Dec-10 3:09
softwarejaeger27-Dec-10 3:09 
AnswerRe: UDP Send Interval Pin
Richard MacCutchan27-Dec-10 3:39
mveRichard MacCutchan27-Dec-10 3:39 
softwarejaeger wrote:
And please... no answers like "use TCP instead of UDP"


Why not?

What you are doing is to try and run a TCP-like communication link using UDP. Unless your datagrams are totally independent then you need to implement some mechanism for re-assembling all the parts into the whole. This means you need to check each datagram as it is received, and if you have not received one or more in the sequence, you should check which are missing and request a retransmit from the sender. The actual sending interval is irrelevant as UDP merely transmits each datagram but does not check (or care) whether it is safely received or not, thus even if you figure out the optimum sending interval it still does not guarantee that i) the message will be safely delivered, or ii) the message will be delivered in the correct sequence.
Just say 'NO' to evaluated arguments for diadic functions! Ash

GeneralRe: UDP Send Interval Pin
softwarejaeger27-Dec-10 3:47
softwarejaeger27-Dec-10 3:47 
GeneralRe: UDP Send Interval Pin
Richard MacCutchan27-Dec-10 4:51
mveRichard MacCutchan27-Dec-10 4:51 
GeneralRe: UDP Send Interval Pin
jschell27-Dec-10 8:06
jschell27-Dec-10 8:06 
GeneralRe: UDP Send Interval Pin
Dave Kreskowiak27-Dec-10 8:36
mveDave Kreskowiak27-Dec-10 8:36 
AnswerRe: UDP Send Interval Pin
_Erik_27-Dec-10 3:59
_Erik_27-Dec-10 3:59 
GeneralRe: UDP Send Interval Pin
softwarejaeger27-Dec-10 4:13
softwarejaeger27-Dec-10 4:13 
GeneralRe: UDP Send Interval Pin
_Erik_27-Dec-10 4:53
_Erik_27-Dec-10 4:53 
GeneralRe: UDP Send Interval Pin
Dave Kreskowiak27-Dec-10 8:40
mveDave Kreskowiak27-Dec-10 8:40 
AnswerRe: UDP Send Interval Pin
carbon_golem27-Dec-10 9:58
carbon_golem27-Dec-10 9:58 
GeneralRe: UDP Send Interval Pin
Richard MacCutchan27-Dec-10 22:27
mveRichard MacCutchan27-Dec-10 22:27 
GeneralRe: UDP Send Interval Pin
carbon_golem28-Dec-10 4:37
carbon_golem28-Dec-10 4:37 
GeneralRe: UDP Send Interval Pin
Richard MacCutchan28-Dec-10 5:34
mveRichard MacCutchan28-Dec-10 5:34 
GeneralRe: UDP Send Interval Pin
carbon_golem28-Dec-10 6:09
carbon_golem28-Dec-10 6:09 
QuestionHow to localize AssemblyInfo.cs? Pin
Chesnokov Yuriy27-Dec-10 2:46
professionalChesnokov Yuriy27-Dec-10 2:46 
AnswerRe: How to localize AssemblyInfo.cs? Pin
Tony Richards27-Dec-10 3:10
Tony Richards27-Dec-10 3:10 
AnswerRe: How to localize AssemblyInfo.cs? Pin
Michael Agroskin30-Dec-10 17:27
Michael Agroskin30-Dec-10 17:27 
QuestionAuto localizing with ResXResourceReader Pin
Chesnokov Yuriy27-Dec-10 2:45
professionalChesnokov Yuriy27-Dec-10 2:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.