Python Forum
Clarification on how to set up non-blocking socket connection
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clarification on how to set up non-blocking socket connection
#2
you can set or unset the blocking mode on either socket any time you want.  blocking mode is just the way read/write/receive/send will work on it.  just have the right mode when you do a method on it.  it is good practice to use only one mode and set it that way as soon as you can.  do you need to switch between the two modes?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
RE: Clarification on how to set up non-blocking socket connection - by Skaperen - Oct-14-2020, 07:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  socket without blocking loop and automatically retrieve data from the port RubenP 3 6,598 Jun-21-2020, 10:59 PM
Last Post: Gribouillis
  Using BaseHTTPServer to encounter system blocking zzs027 0 3,363 Mar-05-2020, 01:39 PM
Last Post: zzs027
  Multi connection socket server help! MuntyScruntfundle 0 3,639 Feb-19-2019, 12:03 PM
Last Post: MuntyScruntfundle
  Python // C # - SOCKET connection is constantly interrupted raspberryPiBRA 0 3,010 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