Python Forum
Send raw string via socket with out any changes
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Send raw string via socket with out any changes
#15
(Jul-25-2019, 08:06 AM)Gribouillis Wrote: I'm glad it works, but I still believe you're doing something that's not needed. First I don't see why you need to convert a string to bytes in the first place. If the labeler needs bytes, you should be able to generate this data without intermediary data of type str. Why would one use a string if a bytes is needed?

I know, but i start write program and just later see problem string-->byte and know i haven't any time,

but thank You for Your help.
Reply


Messages In This Thread
RE: Send raw string via socket with out any changes - by john36 - Jul-25-2019, 09:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Send data BMP180 between client and server trought module socket smalhao 0 2,884 Jul-30-2018, 12:56 PM
Last Post: smalhao
  Simple send and recive string Server/Client Epilepsy 1 2,821 May-01-2018, 08:17 PM
Last Post: ThiefOfTime

Forum Jump:

User Panel Messages

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