Click here to Skip to main content
15,913,361 members
Home / Discussions / C#
   

C#

 
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 
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 
When i was sending / receiving stuff, i would send one message which contains the length of the peice of data, so the receiving end knows what to expect, and had the buffer at say 50KB. The sending end would send in 50Kb chunks until the end of the file, and the receiving end would receive until it had the full 50KB chunk (not all the data comes through in one big chunk) or until it reached the end of the file.

It basically worked like this:

Sender: 123456 <- the size in bytes
Receiver: "OK";
Sender: *sends 50KB*
Receiver: *keeps trying to receive until 50KB has been downloaded*
Receiver: "OK";
Sender: *sends next 50KB*
Receiver: *keeps trying to receive until 50KB has been downloaded*
Receiver: "OK";
Sender: *sends last part of data (less than 50KB)*
Receiver: *keeps trying to receive until the current amount of bytes == total amount of bytes*
Receiver: "OK";

All done. I also had it send an MD5 hash, just to make sure nothing went wrong somewhere.

My current favourite word is: Waffle

Cheese is still good though.

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 
GeneralRe: texture loader problem Pin
Xmen Real 5-Oct-07 15:48
professional Xmen Real 5-Oct-07 15:48 
QuestionLambda Expressions Pin
Fayu5-Oct-07 6:22
Fayu5-Oct-07 6:22 

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.