Recent

Author Topic: Synpase and select? any examples?  (Read 2377 times)

snorkel

  • Hero Member
  • *****
  • Posts: 817
Synpase and select? any examples?
« on: February 15, 2012, 05:26:00 pm »
Hi,
I have a project in python that I want to port to Synpase and FPC/Laz.
The project uses a python dictionary list to hold all the sockets along with select on the entire list, so when a socket is ready for reading the call to select returns with the handle to the socket, which you can then determine if it's a connection/disconnection or a regular read, then if the command passed is time consuming you can fire off a thread or pull one from a pool to handle it.

I am having difficulty finding any examples on how to do something similar with Synapse.
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

 

TinyPortal © 2005-2018