Re: report a problem!
Jean-Paul Saman <[email protected]>
| Newsgroups | gmane.comp.video.videolan.vls.devel |
|---|---|
| Message-ID | <[email protected]> |
I will commit this patch to the vls archive after testing. Greetings, Jean-Paul Saman. Arnaud de Bossoreille de Ribou wrote: > Hi, > > On Wed, Aug 14, 2002, Hong Liu wrote: > >>Hello, >> >>I find a question in the function of C_Socket* >>C_SocketPool::InternalMonitor(Struct timeval* pTimeOut) in your socket.cpp >>file. > > >>[some copy-paste bugs] > > >>Do you think it is right or not? > > > Of course. Actually this code is never used but for reception sockets. > Thank you for reporting this bug. > > >>The second question is as follows, >> >>core/network.cpp:188: Session* pSession = new Session(pClientSocket, >>m_pParam); >> >>My question is that I could not find class Session definition and typedef >>Session. So could you give me a clue to understand the above statement. > > > C_ConnectionsHandler is a template and Session is a parameter given at > instanciation time so that you can reuse it with any class which > implements the methods needed by the template. > > Somewhere in src/server/telnet.h you have this: > > class C_TelnetSession > > ... > > class C_Telnet : protected C_ConnectionsHandler<C_TelnetSession> > > C_TelnetSession is an exemple of class that implements the methods > needed by C_ConnectionsHandler. > > In src/server/nativeadmin.h you have C_NativeAdminSession instead of > C_TelnetSession. > > That's it, I hope this helps. > -- Kind greetings, Jean-Paul Saman Software Architect e-mail (work): [email protected] phone (work): 040 27 42909 ------------------------------------------------------------ Ordina TA, Science Park Eindhoven 5602, Postbus 293, 5600 AG Eindhoven e-mail : [email protected] phone : 040 2601200 fax : 040 2601199 -- This is the vls-devel mailing-list, see http://www.videolan.org/vls-devel/ To unsubscribe, please read http://www.videolan.org/lists.html If you are in trouble, please contact <[email protected]>