NetTalk Central

Author Topic: NetTalk logging  (Read 2819 times)

mjost

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
NetTalk logging
« on: August 05, 2013, 04:53:09 AM »
Hello !

I'd like to log the outgoing traffic of NetTalk web server, I mean the complete html code that is sent to the web client. I couldn't find the functionality in templates. If it does not exist in which embed I could write my own code to do the logging?
I'm using NetTalk 5.44.
Thank you in advance for any help.

Best regards.
    Matjaz Jost

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetTalk logging
« Reply #1 on: August 05, 2013, 09:57:29 AM »
Hi Matjaz,

As it happens it can do that for you.
In the Project Defines set
NetShowSend=>1
And run Debugview.exe

All the outgoing packets then appear in DebugView (which you can save if you like.)

If that's not good enough, then add your own embed code to the
WebServer procedure, Send method. The outgoing text there is in self.packet.bindata

cheers
Bruce