Python Forum
Controlling program with TCP commands
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Controlling program with TCP commands
#2
Actually, you are not listening for TCP commands. You listen for 1 TCP command.

You'll want to put this inside the while loop.
    data = client_socket.recv(1024).decode().strip()
Reply


Messages In This Thread
Controlling program with TCP commands - by lavacode - Jul-10-2023, 08:06 AM
RE: Controlling program with TCP commands - by deanhystad - Jul-10-2023, 04:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Controlling text-to-speech pauses with pyttsx3 pmac1300 4 4,582 Mar-14-2022, 06:47 AM
Last Post: Coricoco_fr
  Controlling what get outputted to stdout when running external commands Daring_T 4 2,220 Jan-30-2022, 05:40 PM
Last Post: bowlofred
  Looking For Help On Controlling Philips Hue From PyCharm RickyRay333 4 3,849 Aug-24-2020, 08:33 PM
Last Post: Nickd12
  Controlling Python Program From Django Front End sourabhjaiswal92 3 3,238 May-21-2018, 06:07 AM
Last Post: wavic
  controlling multiple server simultaneously. caligola 3 3,651 May-11-2018, 05:44 PM
Last Post: wavic
  Controlling trailing zeros with rounding? RedSkeleton007 1 24,569 Jan-25-2018, 07:23 AM
Last Post: j.crater

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020