Yes, I am currently using netstat... I was just checking to see if there is some other more elegant way of doing this. With netstat I sometimes have problems to identify two different connection from the same source... I am not able to differentiate them, since I can not identify their source port... Anyway, thanks for the informations!
Cheers, Rafael Em segunda-feira, 2 de maio de 2011, DRC<dcomman...@users.sourceforge.net> escreveu: > Can you use netstat to probe which sockets are open for each process? > That would be the only way I could think to do it. There is nothing > built into the TurboVNC program that would provide this information. > Xvnc is run with user credentials, so the best it could ever do is store > this info to a file under ~/.vnc or provide some sort of X11 extension > that would allow a program to query session information from it. In any > sense, your application would have to poll something periodically. I > don't know of a way for it to be informed in real time. > > > On 5/2/11 12:34 AM, Rafael Guimaraes wrote: >> Hi folks, >> >> I have developed a little web application for controlling >> vnc+virtualgl sessions. But in order to implement some more advanced >> control, I would like to get some info from turbovnc. Is there anyway >> to have my php web application to be informed whenever a new client >> establishes connection with the turbovnc server? And when the client >> disconnects from the vnc server? >> >> I would like also to get some info from the connection (source port, >> for example). Together with source address and destination >> port/address, this characterizes a flow. Is it possible? >> >> Best decade, >> Rafael >> >> ------------------------------------------------------------------------------ >> WhatsUp Gold - Download Free Network Management Software >> The most intuitive, comprehensive, and cost-effective network >> management toolset available today. Delivers lowest initial >> acquisition cost and overall TCO of any competing solution. >> http://p.sf.net/sfu/whatsupgold-sd >> _______________________________________________ >> VirtualGL-Users mailing list >> VirtualGL-Users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/virtualgl-users > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > VirtualGL-Users mailing list > VirtualGL-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtualgl-users > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ VirtualGL-Users mailing list VirtualGL-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtualgl-users