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

C#

 
QuestionSocket closing without FIN from peer Pin
MidwestLimey17-Mar-16 9:39
professionalMidwestLimey17-Mar-16 9:39 
AnswerRe: Socket closing without FIN from peer Pin
Fueled By Decaff18-Mar-16 3:52
Fueled By Decaff18-Mar-16 3:52 
Some things to look into.

1. Is there a read timeout on (possibly some) of the sockets?
2. Is the socket (_socket) used in EndRead guaranteed to be the same as the one that started the read. MSDN recommends embedding the socket in the parameter passed in to EndRead.
3. Check whether the thread that issues the read is still running - (From MSDN) All I/O initiated by a given thread is canceled when that thread exits. A pending asynchronous operation can fail if the thread exits before the operation completes.

If that fails the .NET framework can do network tracing on these commands.


NOTE: The EndRecieve method is not guaranteed to return all of the data requested. You may need to request more data.


Best of luck.
GeneralRe: Socket closing without FIN from peer Pin
MidwestLimey18-Mar-16 14:17
professionalMidwestLimey18-Mar-16 14:17 
QuestionHow can i create a dialog box window in asp.net C# (web) which contains many field? Pin
Hameed Khan17-Mar-16 5:35
Hameed Khan17-Mar-16 5:35 
AnswerRe: How can i create a dialog box window in asp.net C# (web) which contains many field? Pin
OriginalGriff17-Mar-16 6:28
mveOriginalGriff17-Mar-16 6:28 
SuggestionRe: How can i create a dialog box window in asp.net C# (web) which contains many field? Pin
Richard Deeming17-Mar-16 6:58
mveRichard Deeming17-Mar-16 6:58 
GeneralRe: How can i create a dialog box window in asp.net C# (web) which contains many field? Pin
OriginalGriff17-Mar-16 7:10
mveOriginalGriff17-Mar-16 7:10 
QuestionRe: How can i create a dialog box window in asp.net C# (web) which contains many field? Pin
ZurdoDev17-Mar-16 10:15
professionalZurdoDev17-Mar-16 10:15 
AnswerRe: How can i create a dialog box window in asp.net C# (web) which contains many field? Pin
F-ES Sitecore18-Mar-16 0:37
professionalF-ES Sitecore18-Mar-16 0:37 
QuestionTime Elapse Pin
Aelmfr16-Mar-16 13:57
Aelmfr16-Mar-16 13:57 
AnswerRe: Time Elapse Pin
Garth J Lancaster16-Mar-16 14:30
professionalGarth J Lancaster16-Mar-16 14:30 
GeneralRe: Time Elapse Pin
Aelmfr16-Mar-16 14:46
Aelmfr16-Mar-16 14:46 
AnswerRe: Time Elapse Pin
Patrice T16-Mar-16 14:37
mvePatrice T16-Mar-16 14:37 
GeneralRe: Time Elapse Pin
Aelmfr16-Mar-16 14:53
Aelmfr16-Mar-16 14:53 
GeneralRe: Time Elapse Pin
Patrice T16-Mar-16 15:08
mvePatrice T16-Mar-16 15:08 
GeneralRe: Time Elapse Pin
Aelmfr16-Mar-16 15:44
Aelmfr16-Mar-16 15:44 
GeneralRe: Time Elapse Pin
Patrice T16-Mar-16 15:58
mvePatrice T16-Mar-16 15:58 
GeneralRe: Time Elapse Pin
Garth J Lancaster16-Mar-16 16:06
professionalGarth J Lancaster16-Mar-16 16:06 
GeneralRe: Time Elapse Pin
Patrice T16-Mar-16 16:11
mvePatrice T16-Mar-16 16:11 
JokeRe: Time Elapse Pin
Richard Deeming17-Mar-16 2:00
mveRichard Deeming17-Mar-16 2:00 
PraiseRe: Time Elapse Pin
Patrice T17-Mar-16 4:32
mvePatrice T17-Mar-16 4:32 
AnswerRe: Time Elapse Pin
V.16-Mar-16 22:15
professionalV.16-Mar-16 22:15 
QuestionConverting Array To Dictionary Pin
MadDashCoder16-Mar-16 11:16
MadDashCoder16-Mar-16 11:16 
AnswerRe: Converting Array To Dictionary Pin
John Torjo16-Mar-16 11:22
professionalJohn Torjo16-Mar-16 11:22 
GeneralRe: Converting Array To Dictionary Pin
MadDashCoder16-Mar-16 11:32
MadDashCoder16-Mar-16 11:32 

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.