Click here to Skip to main content
15,908,264 members
Home / Discussions / C#
   

C#

 
GeneralRe: "Or" Pin
MasterSharp5-Oct-07 13:03
MasterSharp5-Oct-07 13:03 
AnswerRe: "Or" Pin
Christian Graus5-Oct-07 13:25
protectorChristian Graus5-Oct-07 13:25 
QuestionC# Webservice help -- catching an event Pin
amclint5-Oct-07 9:26
amclint5-Oct-07 9:26 
AnswerRe: C# Webservice help -- catching an event Pin
amclint5-Oct-07 9:33
amclint5-Oct-07 9:33 
GeneralRe: C# Webservice help -- catching an event Pin
amclint5-Oct-07 9:40
amclint5-Oct-07 9:40 
GeneralRe: C# Webservice help -- catching an event Pin
pmarfleet5-Oct-07 10:01
pmarfleet5-Oct-07 10:01 
GeneralRe: C# Webservice help -- catching an event Pin
amclint5-Oct-07 10:18
amclint5-Oct-07 10:18 
QuestionTCP .Begin receive Pin
captainmogo5-Oct-07 8:42
captainmogo5-Oct-07 8:42 
I am trying to read a variable number of bytes from another .Net application but the messages are not always received correctly, sometimes I read the first half of the message and then the second half. Since the message sizes I am sending are constantly changing, I know I cannot hardcode the receive buffer. Right now that is how I have it and it works most of the time when my update rate is 1x/second but not at 10x/second. My data is a string with ids and data values (id:value|id:value|...) that I convert to bytes before sending (.GetBytes(dataString)).
I keep reading on forums that the standard way of remedying this situation is to append the number of bytes to the front of the message but I cannot find any examples of how to do that. Some of the channels have a more data than others (40KB vs 500 bytes) but the sending routine is the same so I need to make sure it will work across all channels.

Any help would be appreciated - I am really on a tight schedule
thanks in advance
AnswerRe: TCP .Begin receive Pin
led mike5-Oct-07 8:48
led mike5-Oct-07 8:48 
AnswerRe: TCP .Begin receive Pin
Anthony Mushrow5-Oct-07 8:54
professionalAnthony Mushrow5-Oct-07 8:54 
AnswerRe: TCP .Begin receive Pin
pbraun7-Oct-07 7:05
pbraun7-Oct-07 7:05 
GeneralRe: TCP .Begin receive Pin
captainmogo30-Oct-07 4:58
captainmogo30-Oct-07 4:58 
Questionhow to create a application as "Organizer Work" for beginner Pin
hanght5-Oct-07 8:15
hanght5-Oct-07 8:15 
AnswerRe: how to create a application as "Organizer Work" for beginner Pin
Not Active5-Oct-07 8:41
mentorNot Active5-Oct-07 8:41 
GeneralRe: how to create a application as "Organizer Work" for beginner Pin
hanght5-Oct-07 8:52
hanght5-Oct-07 8:52 
GeneralRe: how to create a application as "Organizer Work" for beginner Pin
Christian Graus5-Oct-07 13:26
protectorChristian Graus5-Oct-07 13:26 
AnswerRe: how to create a application as "Organizer Work" for beginner Pin
Abhijit Jana6-Oct-07 1:27
professionalAbhijit Jana6-Oct-07 1:27 
Questiontexture loader problem Pin
Xmen Real 5-Oct-07 6:45
professional Xmen Real 5-Oct-07 6:45 
AnswerRe: texture loader problem Pin
Not Active5-Oct-07 6:55
mentorNot Active5-Oct-07 6:55 
GeneralRe: texture loader problem Pin
Xmen Real 5-Oct-07 6:58
professional Xmen Real 5-Oct-07 6:58 
GeneralRe: texture loader problem Pin
led mike5-Oct-07 7:15
led mike5-Oct-07 7:15 
GeneralRe: texture loader problem Pin
Xmen Real 5-Oct-07 14:18
professional Xmen Real 5-Oct-07 14:18 
GeneralRe: texture loader problem Pin
Not Active5-Oct-07 7:30
mentorNot Active5-Oct-07 7:30 
GeneralRe: texture loader problem Pin
Xmen Real 5-Oct-07 14:21
professional Xmen Real 5-Oct-07 14:21 
GeneralRe: texture loader problem Pin
Not Active5-Oct-07 15:03
mentorNot Active5-Oct-07 15:03 

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.