Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Sending data using socket from Python(client) to C++(server) arrays

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Feb 19, 2018 at 14:57 comment added Sundar Rajan as mentioned by @MauriceRandomNumber , You should rely on JSON or XML to parse through standard format if you do not bother to write your own parsing logic. The Symbols after 31 are attempt to print unallocated bytes after receiving. You can fix it by looking for a delimiter.
Feb 19, 2018 at 14:54 comment added Sundar Rajan I can find this works like this. Client says: (97, 12, 127)(187, 67, 80)(235, 177, 44)(91, 215, 50)(10, 80, 31)╠╠╠╠╠╠╠╠╠╠╠
Feb 19, 2018 at 14:53 comment added SarahB Do you know how to get C++ to receive that correctly, as the recv function will only accept char*?
Feb 19, 2018 at 14:52 history edited Sundar Rajan CC BY-SA 3.0
added 38 characters in body
Feb 19, 2018 at 14:43 history answered Sundar Rajan CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /