Re: [twsocket] How can an ICS server can cause Windows RDPtostopworking?

2008-02-25 Thread Fastream Technologies
I forgot to speak about threadetach/attach. I am already using them very
well. I think the logic is good.

Regards,

SZ


On 2/24/08, Francois PIETTE [EMAIL PROTECTED] wrote:

  Socket have to be closed from the thread context they have been
 created.

  WAIT a moment--what do you mean? I create the socket in the main thread
  pool, accept() there, then postthreadmessage to worker thread, serve,
 then
  shutdown there and then destruct there. Do you say this is buggy?

 Yes, this is buggy. If you don't create the TWSocket instance in the
 thread
 context where you plan to free it, then you must use
 ThreadDetach/ThreadAttach.

  Can you show me an example?

 See the MT samples delivered with ICS.
 Also search the mailing list archive for discussion about
 ThreadAttach/ThreadDetach, this has been discussed several times.

 --
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 The author of the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 http://www.overbyte.be

 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Slightly OT : Microsoft open documentation to many of its protocols

2008-02-25 Thread Dod
May be usefull for people working with ICS and want to do something
with some of Server protocols used by microsoft products.

http://msdn2.microsoft.com/en-us/library/cc216517.aspx

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be