Click here to Skip to main content
15,913,055 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionTelephone based auto-systems??? Pin
pankazmittal23-Jun-08 5:52
pankazmittal23-Jun-08 5:52 
Questionadd form to a panel Pin
biswajit nayak23-Jun-08 0:18
biswajit nayak23-Jun-08 0:18 
AnswerRe: add form to a panel Pin
Colin Angus Mackay23-Jun-08 1:02
Colin Angus Mackay23-Jun-08 1:02 
AnswerRe: add form to a panel Pin
N a v a n e e t h23-Jun-08 2:37
N a v a n e e t h23-Jun-08 2:37 
AnswerRe: add form to a panel Pin
Thomas Stockwell23-Jun-08 15:25
professionalThomas Stockwell23-Jun-08 15:25 
QuestionCan the name of the implementation file (*.cpp) be different to the name of the header file (*.h) ? Pin
openLG19-Jun-08 9:52
openLG19-Jun-08 9:52 
AnswerRe: Can the name of the implementation file (*.cpp) be different to the name of the header file (*.h) ? Pin
Scott Dorman22-Jun-08 1:39
professionalScott Dorman22-Jun-08 1:39 
QuestionSocket Receive Problems Pin
James Smith19-Jun-08 6:15
James Smith19-Jun-08 6:15 
Hi All,

I am having some problems with .NET Socket Receive Method. I have a client application which I am sending data to a server app. The send works properly, the server receives it. I am expecting a response back from the server, but due to unforseen problems the server doesn't respond. My client application does not block at the Socket.Receive() and loops indefinately waiting for data. I would expect it to block (or wait a specified timeout) until either an exception is thrown (timeout, or closed socket), or data is received. Debugging the connection socket properties on the client reveals that the application thinks the socket is still Connected, and there is no data available.

I loaded up WireShark, and traced the connection. It appears that the server is initiating a shutdown, by sending a FIN packet. I see a lower level FIN ACK being sent back to the server from the client, however the application code doesn't seem to detect this. Could this be why the socket doesn't block at the Receive? Is there a way to detect that the server wishes to close the connection?

FYI, the client application is currently written in C# using .NET 3.5 framework.

Any suggestions would be greatly appreciated.
Thanks for your help in advance.

Kind Regards,
James
AnswerRe: Socket Receive Problems Pin
led mike19-Jun-08 6:30
led mike19-Jun-08 6:30 
GeneralRe: Socket Receive Problems Pin
James Smith19-Jun-08 7:34
James Smith19-Jun-08 7:34 
RantRe: Socket Receive Problems Pin
liRetro19-Jun-08 7:46
liRetro19-Jun-08 7:46 
GeneralRe: Socket Receive Problems Pin
James Smith19-Jun-08 8:02
James Smith19-Jun-08 8:02 
GeneralRe: Socket Receive Problems Pin
James Smith19-Jun-08 8:15
James Smith19-Jun-08 8:15 
GeneralRe: Socket Receive Problems Pin
led mike23-Jun-08 8:01
led mike23-Jun-08 8:01 
QuestionInfinite Lifetimes Pin
liRetro19-Jun-08 6:06
liRetro19-Jun-08 6:06 
QuestionRemoting with Interfaces Pin
liRetro19-Jun-08 5:59
liRetro19-Jun-08 5:59 
Questiontransforming a code [modified] Pin
Reza1218-Jun-08 23:08
Reza1218-Jun-08 23:08 
AnswerRe: transforming a code Pin
Pete O'Hanlon19-Jun-08 0:43
mvePete O'Hanlon19-Jun-08 0:43 
QuestionProblem using shared assembly that has a satellite assembly Pin
ctoma200518-Jun-08 22:12
ctoma200518-Jun-08 22:12 
QuestionTypes of JIT Pin
danasegaranea18-Jun-08 21:12
danasegaranea18-Jun-08 21:12 
AnswerRe: Types of JIT Pin
leppie18-Jun-08 21:45
leppie18-Jun-08 21:45 
GeneralRe: Types of JIT Pin
danasegaranea18-Jun-08 22:34
danasegaranea18-Jun-08 22:34 
GeneralRe: Types of JIT Pin
Pete O'Hanlon19-Jun-08 0:44
mvePete O'Hanlon19-Jun-08 0:44 
GeneralRe: Types of JIT Pin
Vega0222-Jun-08 1:15
Vega0222-Jun-08 1:15 
Questionhow to generate report in hindi language? Pin
Member 405460918-Jun-08 1:12
Member 405460918-Jun-08 1:12 

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.