Click here to Skip to main content
16,005,149 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionSocket Receive Problems Pin
James Smith19-Jun-08 6:15
James Smith19-Jun-08 6:15 
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 
Hello,

I'm setting up a remoted object and was wondering about overriding the lifetime service. I overrode the method that allows me to define my own lease settings, but I was curious about what happens when I return null instead of the lease. The object is supposed to now have an infinite lifetime if you return null. So if I applied this to a Client Activated object, then every object a client makes will NEVER get garbage collected. Is this absolutely true? If so, is there a programmatic way that the client could tell the server that it is done with the object and it's OK to clean it up, even though the lifetime is set to infinite?

It just seems odd to me that if a client activates 1000 objects and then sets them to null, and heck, even shuts itself down, the server will keep those objects hanging around. I don't want to build in any kind of sponsoring or lease renewal, I just want the object to stay around without keep-alives and 1 call that says I'm done using it. If something bad happens to the client and a couple objects get left hanging around, then so be it.

Assert(this);

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 
Question.NET Compact Framework 6.0 - Integration with VS 2005 - CE - Mobile - Embeddded Pin
scottdj17-Jun-08 11:11
scottdj17-Jun-08 11:11 
QuestionEmployee tracking Pin
BLOEDHOND17-Jun-08 7:01
BLOEDHOND17-Jun-08 7:01 
AnswerRe: Employee tracking Pin
Christian Graus17-Jun-08 17:54
protectorChristian Graus17-Jun-08 17:54 
GeneralRe: Employee tracking Pin
BLOEDHOND17-Jun-08 20:13
BLOEDHOND17-Jun-08 20:13 
GeneralRe: Employee tracking Pin
Brady Kelly18-Jun-08 3:29
Brady Kelly18-Jun-08 3:29 
QuestionCOM+ Transaction scope in .Net Pin
Daniel Jansson17-Jun-08 4:38
Daniel Jansson17-Jun-08 4:38 
AnswerRe: COM+ Transaction scope in .Net Pin
led mike17-Jun-08 6:59
led mike17-Jun-08 6:59 

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.