Click here to Skip to main content
15,922,894 members
Home / Discussions / C#
   

C#

 
GeneralRe: Operator Overloading Pin
Christian Graus13-Apr-05 20:06
protectorChristian Graus13-Apr-05 20:06 
GeneralAbstract Classes Pin
jvnk1113-Apr-05 19:34
jvnk1113-Apr-05 19:34 
GeneralRe: Abstract Classes Pin
Christian Graus13-Apr-05 20:02
protectorChristian Graus13-Apr-05 20:02 
GeneralRe: Abstract Classes Pin
Dave Kreskowiak14-Apr-05 4:30
mveDave Kreskowiak14-Apr-05 4:30 
QuestionPlease help! Which project type is best for a CBT?? Pin
OnlyTaz13-Apr-05 18:04
OnlyTaz13-Apr-05 18:04 
AnswerRe: Please help! Which project type is best for a CBT?? Pin
Christian Graus13-Apr-05 18:29
protectorChristian Graus13-Apr-05 18:29 
GeneralC# networking questions please help! Pin
joe23432113-Apr-05 15:57
joe23432113-Apr-05 15:57 
GeneralRe: C# networking questions please help! Pin
felopater14-Apr-05 3:50
felopater14-Apr-05 3:50 
hii,
about your quetions
1- ofcourse you must wait till endsend and you must call endsend method in beginsend callback function to ensure send is done Successfully. if send faild you will recieve exception from endsend

2-nodelay don't help the much you think. if you looking for nodelay to ip packets you have to wait till we work with ip version6 whitch you set priorty level to your packets. becouse the real delay your packets face is on network specially if it was internet which suffers from congestion. if you work on lan transmission speed much much better

3-about your problem there are many resaons that leads to it, i'll list some of them
a-your system design, sequence of send and recieve messages (Messages cycle) is logically incorrect
b-there is a fact you must keep in mind when working with tcp protocol; that one of tcp problems is that it is not keep message boundry. when you work with it you just write your data on stream if for example you write 4 kb message.it will be segmented to two ip packets and sent. in destaination you wait for one recieve so you will recieve your message as half of original message, second message you recieve is the second half of original message and so on your all messages will be overlaped. to overcome this one way is to send the size of message before message and on destination read size first and never let the stream buffer till you read all bytes according to size. this will help to keep message boundry

c- if you find problems in working with callbacks why don't you work with blocking socktes (synchronize) and put them in threads that would be much simple and easy to mainpulate.




marcoryos
Generalin god sake help me please Pin
snouto13-Apr-05 12:32
snouto13-Apr-05 12:32 
GeneralRe: in god sake help me please Pin
Christian Graus13-Apr-05 18:30
protectorChristian Graus13-Apr-05 18:30 
GeneralRe: in god sake help me please Pin
Dave Kreskowiak14-Apr-05 4:24
mveDave Kreskowiak14-Apr-05 4:24 
GeneralSerializing class derived from TreeNode Pin
Kordzik13-Apr-05 12:30
Kordzik13-Apr-05 12:30 
GeneralRe: Serializing class derived from TreeNode Pin
Kordzik14-Apr-05 11:14
Kordzik14-Apr-05 11:14 
GeneralGraphics Processing Pin
Greg Kotrick13-Apr-05 9:43
Greg Kotrick13-Apr-05 9:43 
GeneralRe: Graphics Processing Pin
Christian Graus13-Apr-05 18:32
protectorChristian Graus13-Apr-05 18:32 
GeneralRe: Graphics Processing Pin
Greg Kotrick14-Apr-05 7:16
Greg Kotrick14-Apr-05 7:16 
GeneralRe: Graphics Processing Pin
Christian Graus14-Apr-05 12:11
protectorChristian Graus14-Apr-05 12:11 
QuestionAnyway to extract recently "navigated" images from a axWebBrowser control? Pin
FocusedWolf13-Apr-05 9:08
FocusedWolf13-Apr-05 9:08 
AnswerRe: Anyway to extract recently "navigated" images from a axWebBrowser control? Pin
Judah Gabriel Himango13-Apr-05 12:39
sponsorJudah Gabriel Himango13-Apr-05 12:39 
GeneralRe: Anyway to extract recently "navigated" images from a axWebBrowser control? Pin
FocusedWolf13-Apr-05 13:25
FocusedWolf13-Apr-05 13:25 
GeneralShut down explorer programmatically Pin
Ian Bowler13-Apr-05 8:18
Ian Bowler13-Apr-05 8:18 
GeneralRe: Shut down explorer programmatically Pin
tommazzo13-Apr-05 8:42
tommazzo13-Apr-05 8:42 
GeneralRe: Shut down explorer programmatically Pin
Ian Bowler13-Apr-05 8:48
Ian Bowler13-Apr-05 8:48 
GeneralRe: Shut down explorer programmatically Pin
Dave Kreskowiak13-Apr-05 9:08
mveDave Kreskowiak13-Apr-05 9:08 
GeneralRe: Shut down explorer programmatically Pin
Ian Bowler13-Apr-05 9:13
Ian Bowler13-Apr-05 9:13 

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.