NetTalk Central

Author Topic: NT8 and PushPack proc  (Read 2324 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
NT8 and PushPack proc
« on: March 20, 2014, 04:49:20 AM »
How do I change the following PushPack proc code?

  packetlen = len(clip(p_packet))
  if packetlen > 0
    p_web.ParseHTML(p_packet, 1, packetlen, NET:NoHeader)
    p_packet.SetValue( '' )
    packetlen = 0
  end

I've change it like:

  if  p_packet.Length() > 0
    p_web.ParseHTML(p_packet, 1,  packet.Length(), NET:NoHeader)
    p_packet.SetValue( '' )
  end


    p_packet.SetValue( '' ) gives an error
« Last Edit: March 20, 2014, 04:50:52 AM by michelis »
-----------
Regards
Alberto