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

C#

 
AnswerRe: Access Insert issue Pin
Guffa1-Jul-08 5:16
Guffa1-Jul-08 5:16 
GeneralRe: Access Insert issue Pin
kruegersck1-Jul-08 5:45
kruegersck1-Jul-08 5:45 
GeneralRe: Access Insert issue Pin
kruegersck1-Jul-08 5:48
kruegersck1-Jul-08 5:48 
GeneralRe: Access Insert issue Pin
Guffa2-Jul-08 2:53
Guffa2-Jul-08 2:53 
Questionhtml to pdf Pin
laziale1-Jul-08 3:41
laziale1-Jul-08 3:41 
AnswerRe: html to pdf Pin
BoneSoft1-Jul-08 4:16
BoneSoft1-Jul-08 4:16 
AnswerRe: html to pdf Pin
Thomas Stockwell2-Jul-08 2:29
professionalThomas Stockwell2-Jul-08 2:29 
QuestionWeird Socket behaviour after using NetworkStream Pin
__DanC__1-Jul-08 3:28
__DanC__1-Jul-08 3:28 
I have a client / server system which uses sockets to send a receive messages. The messages are then processed on the server and a response sent back. This all works as expected most of the time but in the case of one particular message, it requires an arbitrary amount of data to follow it so I attach a NetworkStream to the Socket (specifying false to 'ownsSocket' so as not to close the socket early). Now this also works fine but some time after using the NetworkStream I get a message received twice in a single Receive call. The client has not sent it twice but it was received twice. This may happen for the message after I use the NetworkStream or after 100 successful messages after, there seems to be no pattern to it.

Now this also seems to happen less and less the more debug messages I add to the application making it very hard to find the problem.

The NetworkStream is closed and disposes after use.

Does anyone have any idea what could be causing this? Could it just be coincidence that it seems to only happen after I use a NetworkStream?
AnswerRe: Weird Socket behaviour after using NetworkStream Pin
leppie1-Jul-08 3:32
leppie1-Jul-08 3:32 
GeneralRe: Weird Socket behaviour after using NetworkStream Pin
__DanC__1-Jul-08 3:42
__DanC__1-Jul-08 3:42 
GeneralRe: Weird Socket behaviour after using NetworkStream Pin
leppie1-Jul-08 4:13
leppie1-Jul-08 4:13 
Questionhotkey work but i still want to send the HotKey to the current activated application [modified] Pin
troiszyzy1-Jul-08 2:57
troiszyzy1-Jul-08 2:57 
Questiondoes anyone have an idea? Pin
troiszyzy1-Jul-08 8:46
troiszyzy1-Jul-08 8:46 
AnswerRe: hotkey work but i still want to send the HotKey to the current activated application Pin
Michael90001-Jul-08 10:26
Michael90001-Jul-08 10:26 
QuestionRe: hotkey work but i still want to send the HotKey to the current activated application Pin
troiszyzy1-Jul-08 23:57
troiszyzy1-Jul-08 23:57 
AnswerRe: hotkey work but i still want to send the HotKey to the current activated application Pin
Michael90003-Jul-08 1:47
Michael90003-Jul-08 1:47 
QuestionWindows API question? Pin
Mohammad Dayyan1-Jul-08 2:21
Mohammad Dayyan1-Jul-08 2:21 
AnswerRe: Windows API question? Pin
DaveyM691-Jul-08 3:23
professionalDaveyM691-Jul-08 3:23 
GeneralRe: Windows API question? Pin
Mohammad Dayyan1-Jul-08 4:58
Mohammad Dayyan1-Jul-08 4:58 
QuestionRank Checker Pin
D i x y1-Jul-08 2:12
D i x y1-Jul-08 2:12 
QuestionWriting a buffer (array of Int32) to disk (or database blob) Pin
RugbyLeague1-Jul-08 1:52
RugbyLeague1-Jul-08 1:52 
AnswerRe: Writing a buffer (array of Int32) to disk (or database blob) Pin
RugbyLeague1-Jul-08 3:09
RugbyLeague1-Jul-08 3:09 
AnswerRe: Writing a buffer (array of Int32) to disk (or database blob) Pin
Giorgi Dalakishvili1-Jul-08 3:31
mentorGiorgi Dalakishvili1-Jul-08 3:31 
Questioncrystal report Pin
Member 38512861-Jul-08 1:35
Member 38512861-Jul-08 1:35 
Questionuser control, F1 Please! Pin
mrcooll1-Jul-08 1:17
mrcooll1-Jul-08 1:17 

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.