Python Forum
Asyncio | Websockets - general problem starting the server
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Asyncio | Websockets - general problem starting the server
#6
(Oct-26-2022, 10:41 AM)wavic Wrote: Don't call the class

Instead of functools.partial(Websocket(), client) try functools.partial(Websocket, client) without the brackets after Websockets

The brackets are calling it. Just the name is the object itself.

Will test this later and get back to you, thanks!
Reply


Messages In This Thread
RE: Asyncio | Websockets - general problem starting the server - by dreamer - Oct-26-2022, 11:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Paramiko Server -- Exception (server): Error reading SSH protocol banner ujlain 3 4,766 Jul-24-2023, 06:52 AM
Last Post: Gribouillis
  Listen TCP and send data to websockets neoboby 3 3,101 Feb-13-2023, 09:47 PM
Last Post: Vadanane
  Socket server problem H84Gabor 0 1,282 Jun-21-2022, 12:14 AM
Last Post: H84Gabor
Bug Problem connecting TLS client written in C++ and Twisted server gpropf 0 1,424 Jun-12-2022, 05:57 PM
Last Post: gpropf
  websockets help :/ kimblee 3 5,596 Feb-15-2021, 01:26 AM
Last Post: kimblee
  Simple TCP Client and TCP Server Problem Vapulabis 5 4,454 Jul-12-2020, 05:09 PM
Last Post: ndc85430
  Slow websockets server -> client pattagghiu 0 2,432 Sep-17-2019, 09:28 AM
Last Post: pattagghiu
  Flask and Websockets == True? rxndy 2 2,864 Apr-21-2019, 04:08 PM
Last Post: rxndy
  Send Pressure sensor data to IoT platform using WebSockets in Python barry76 3 4,680 Mar-12-2019, 09:48 AM
Last Post: barry76
  Basical TCP/UDP client-server problem maolow 3 5,357 Feb-04-2017, 05:00 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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