Author Topic: Trouble viewing incoming TCP info in VC  (Read 3326 times)

0 Members and 1 Guest are viewing this topic.

monkee

  • $upporter
  • Jr. Member
  • *****
  • Posts: 40
  • Karma: 4
    • View Profile
Trouble viewing incoming TCP info in VC
« on: September 29, 2023, 10:13:06 PM »
Hi, I'm having trouble getting VC to recognize the response from my receiver using the TCP plugin.  I can successfully send it "(VOL U)" command and the volume goes up.  Then my receiver spits out the current volume, I can see the info in Wireshark, but I cannot see it in VC and my lastresult stays empty.  What can I try?  I'd like to use any incoming volume changes to trigger events. 

Thanks so much!

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Trouble viewing incoming TCP info in VC
« Reply #1 on: October 01, 2023, 10:30:11 AM »
Please post the xml for whatever command have tested.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Trouble viewing incoming TCP info in VC
« Reply #2 on: October 01, 2023, 10:31:23 AM »
It might also help to know what brand and model of receiver you are talking to.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Trouble viewing incoming TCP info in VC
« Reply #3 on: October 01, 2023, 10:34:01 AM »
Are you using Client.Connect?  Have you read the action descriptions for the TCP plugin?

http://voxcommando.com/mediawiki/index.php?title=Plugin_TCP#Connect

monkee

  • $upporter
  • Jr. Member
  • *****
  • Posts: 40
  • Karma: 4
    • View Profile
Re: Trouble viewing incoming TCP info in VC
« Reply #4 on: October 02, 2023, 12:59:04 AM »
Hi, sorry, I was doing more experimentation and figured it out!  Thank you for the reply.

I am, indeed, using Client.Connect.  I needed to increase the delay when using Client.Write, maybe it was closing the connection before I got the response. 

However, my response is followed by \x00\x00\x00 about 20 times, which I do not get in a normal telnet response.  Is there a way to stop that from coming through or do I have to regex the result?  I have to anyway but hopefully there is a better way to get rid of the \x00\'s or not see them at all?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Trouble viewing incoming TCP info in VC
« Reply #5 on: October 04, 2023, 10:39:47 AM »
I have no idea.