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

C#

 
GeneralRe: link in textrenderer Pin
Ashfield24-Nov-08 8:43
Ashfield24-Nov-08 8:43 
Questionshare Pin
ellllllllie24-Nov-08 1:21
ellllllllie24-Nov-08 1:21 
AnswerRe: share Pin
Le centriste24-Nov-08 2:10
Le centriste24-Nov-08 2:10 
QuestionRemove instance Pin
RishiKasnia24-Nov-08 1:00
RishiKasnia24-Nov-08 1:00 
AnswerRe: Remove instance Pin
Pedram Behroozi24-Nov-08 1:15
Pedram Behroozi24-Nov-08 1:15 
GeneralRe: Remove instance Pin
RishiKasnia24-Nov-08 1:41
RishiKasnia24-Nov-08 1:41 
GeneralRe: Remove instance Pin
Pedram Behroozi24-Nov-08 1:54
Pedram Behroozi24-Nov-08 1:54 
GeneralRe: Remove instance Pin
RishiKasnia24-Nov-08 1:58
RishiKasnia24-Nov-08 1:58 
GeneralRe: Remove instance Pin
Bijesh24-Nov-08 3:02
Bijesh24-Nov-08 3:02 
AnswerRe: Remove instance Pin
Simon P Stevens24-Nov-08 3:05
Simon P Stevens24-Nov-08 3:05 
GeneralRe: Remove instance Pin
RishiKasnia24-Nov-08 16:43
RishiKasnia24-Nov-08 16:43 
QuestionSetting Socket.ReceiveBufferSize Pin
HosamAly24-Nov-08 0:40
HosamAly24-Nov-08 0:40 
AnswerRe: Setting Socket.ReceiveBufferSize Pin
Mark Salsbery24-Nov-08 7:14
Mark Salsbery24-Nov-08 7:14 
GeneralRe: Setting Socket.ReceiveBufferSize Pin
HosamAly24-Nov-08 20:43
HosamAly24-Nov-08 20:43 
GeneralRe: Setting Socket.ReceiveBufferSize Pin
Mark Salsbery25-Nov-08 5:42
Mark Salsbery25-Nov-08 5:42 
Questionsmart card Pin
ellllllllie24-Nov-08 0:34
ellllllllie24-Nov-08 0:34 
QuestionA blocking operation was interrupted by a call to WSACancelBlockingCall Pin
Gareth H24-Nov-08 0:27
Gareth H24-Nov-08 0:27 
AnswerRe: A blocking operation was interrupted by a call to WSACancelBlockingCall Pin
led mike24-Nov-08 5:02
led mike24-Nov-08 5:02 
GeneralRe: A blocking operation was interrupted by a call to WSACancelBlockingCall Pin
Gareth H24-Nov-08 5:37
Gareth H24-Nov-08 5:37 
GeneralRe: A blocking operation was interrupted by a call to WSACancelBlockingCall Pin
led mike24-Nov-08 5:56
led mike24-Nov-08 5:56 
Gareth H wrote:
I added the Shutdown call, but that didn't solve the problem.

Did you read my post? Roll eyes | :rolleyes:
led mike wrote:
That said, an exception will be thrown from a blocking read when the read is canceled. That behavior is by design.

Gareth H wrote:
It seems that the exception is thrown the same number of times a message is sent to the java process.


Without being able to reproduce the behavior themselves it is unlikely anyone will be able to help you. I have done socket development since 1994 and I have never seen anything such as you describe. My first guess is that the behavior is introduced by your code, not by the TCP stack or the any of the other libraries you are using.

Some of what you previously said indicates you are using threads. It is very likely you are creating a new reading thread for each message sent to the Java process since that would explain the behavior.


led mike

GeneralRe: A blocking operation was interrupted by a call to WSACancelBlockingCall Pin
Gareth H24-Nov-08 7:24
Gareth H24-Nov-08 7:24 
QuestionCapturing SessionEnding without Main form Pin
__DanC__23-Nov-08 23:21
__DanC__23-Nov-08 23:21 
QuestionThis is about material. I am Mongolia. I don't speak english Pin
Tsodgorhuu23-Nov-08 22:27
Tsodgorhuu23-Nov-08 22:27 
AnswerRe: This is about material. I am Mongolia. I don't speak english Pin
Simon P Stevens23-Nov-08 22:36
Simon P Stevens23-Nov-08 22:36 
GeneralRe: This is about material. I am Mongolia. I don't speak english Pin
Thomas Weller23-Nov-08 22:41
Thomas Weller23-Nov-08 22:41 

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.