Python Forum
TCP server syntax error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TCP server syntax error
#1
I'm trying to create a tcp server on python. Does anyone know why I'm receiving this syntax error despite defining 'server' earlier in the code. Is it something to do with indentations??

Attached Files

Thumbnail(s)
   
Reply


Messages In This Thread
TCP server syntax error - by wabbit - May-13-2023, 11:29 AM
RE: TCP server syntax error - by rob101 - May-17-2023, 10:01 PM
RE: TCP server syntax error - by buran - May-18-2023, 06:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Paramiko Server -- Exception (server): Error reading SSH protocol banner ujlain 3 5,290 Jul-24-2023, 06:52 AM
Last Post: Gribouillis
  500 Internal Server Error Flask Api on Lighttpd koklimabc 0 2,366 Apr-14-2020, 08:15 AM
Last Post: koklimabc
  python -m http.server giving invalid syntax echowit 5 7,343 May-17-2018, 02:13 PM
Last Post: echowit

Forum Jump:

User Panel Messages

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