On 6/23/2010 9:42 AM, Jay Sorg wrote:
Hey Jay. Ive been looking at the code, and I can't find the struct trans anywhere, nor trans_connect call in the xrdp_mm.c file. Is this updated code that you are referring to? The version I have is xrdp-0.4.1.Hey guys. So I was looking at the code for xrdp. I know I need to have the connection between sesman and xrdp be maintained for the entire session, and then have sesman kill the session when xrdp sees a user disconnect. I could go looking through all the code, but I was just wondering if someone knew where in the code xrdp connects/disconnects from sesman. ThanksHi Murtaza, The connection goes up in file xrdp/xrdp_mm.c function xrdp_mm_connect It uses an object called struct trans to talk to sesman. trans_connect is the call to do the connect. The connection goes down in xrdp_mm_process_login_response self->delete_sesman_trans = 1; will cause the disconnect later. Then on the sesman side, I have to look more. Jay
-Murtaza
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________ xrdp-devel mailing list xrdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xrdp-devel