Python Forum
Python 2.7 vs Python 3.8 (Socket Module)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 2.7 vs Python 3.8 (Socket Module)
#4
sending "43 41 4E 6F 65 46 44 58 01 01 01 00 00 80 00 00 06 00 06 00 10 A0"
waiting to receive
received "'CANoeFDX\x01\x02\x02\x00\x00\x80\x00\x00\x10\x00\x04\x00\x03\x00\x00\x00\xa3s\xe8l\x9d\xd4\x03\x00\t\x00\x05\x00\x10\xa0\x01\x00\x02'"
closing socket


The program actually received the correct format that I need. I tried to pull the data using responsToPLC = vectorResponse[40:41][ and the result is still encoded incorrectly.
Reply


Messages In This Thread
Python 2.7 vs Python 3.8 (Socket Module) - by MattB - Mar-16-2020, 07:11 PM
RE: Python 2.7 vs Python 3.8 (Socket Module) - by MattB - Mar-17-2020, 12:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python socket connect only sometimes espDino 0 1,543 Jul-15-2020, 12:13 PM
Last Post: espDino
  how to get your own ip using python (NO SOCKET:) ) julio2000 3 2,319 Mar-02-2020, 09:35 PM
Last Post: buran
  Python module wifi not showing all wireless networks marozsas 3 3,971 Jan-24-2020, 02:59 PM
Last Post: buran
  For Xilinx EthernetLite LWIP:Need help in Python SOCKET Coding Saras 1 3,003 Oct-01-2018, 05:16 AM
Last Post: Saras
  Python Socket programming with packets sourabhjaiswal92 1 4,141 Sep-18-2018, 06:24 AM
Last Post: martingever
  Send data BMP180 between client and server trought module socket smalhao 0 2,854 Jul-30-2018, 12:56 PM
Last Post: smalhao
  Python socket : Error receive data quanglnh1993 1 13,047 Mar-14-2018, 11:59 AM
Last Post: avorane
  Python module for Router configuration parsing anna 0 3,647 Mar-08-2018, 06:02 PM
Last Post: anna
  Python // C # - SOCKET connection is constantly interrupted raspberryPiBRA 0 2,428 Feb-01-2018, 09:53 AM
Last Post: raspberryPiBRA

Forum Jump:

User Panel Messages

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