I'm trying to use Synapse(TTCPBlockSocket) instead of Indy,but through the official help and demo i can't understand how to get the number of TCP client,and i didn't found the connect/disconnect events about Synapse,please give me some hint or sample code. Thanks in advance !
How to get the number of client and the connect/disconnect events in Synapse ?
1.5k Views Asked by PFeng At
1
There are 1 best solutions below
Related Questions in SOCKETS
- Drawing with ncurses, sockets and fork
- UDP sockets in C not working
- How can I send multiple objects over one socket in java?
- psuedo TCP multicast with os.dup2() in python?
- My get request for http is very slow
- Nodejs connect mysql socket to another host?
- HttpRequestContext vs HttpContext
- Spring based client server communication without network
- Java does not accept 2 methods with same name
- Retrieve Data From EOC(Eithernet Over coxial) device
- Ping a server without freezing the Thread
- C sockets: Exit client after all data is received
- What is the best way to send XML converted to a byte array over TCP, then translate the response back to readable XML?
- C# Winform to Connect to Device Using IP
- Java Restart a Socket
Related Questions in DELPHI
- How to not load all database records in my TListbox in Firemonkey Delphi XE8
- How to catch WM_DEVICECHANGE in a control other than TForm?
- show information with Rolling / moving messages delphi xe7
- What is the different between "Console target" and "GUI target" in DCC32 option?
- How to add new online ressources to RAD Studio help system
- C# and Delphi code have different behaviour when importing unmanaged dll
- Loop through records on a cxgrid and update a field/column
- Delphi 7 - Save to a Specific .INI Files Name
- TImagelist for large images
- how to modify a function so it returns an array of strings
- Checking for internet connection in runtime
- How can I make the main form align correctly after my control height is autosized and then I maximize the form?
- fetch data from web service to dataset in Delphi
- Load candlestick data from file
- Infinite loop in parsing a string using pointer math
Related Questions in TCP
- having spring integration tcpserver to manage clients and send them messages
- psuedo TCP multicast with os.dup2() in python?
- Retrieve Data From EOC(Eithernet Over coxial) device
- Connecting a web client to a c++ server with TCP
- ECONNRESET on node.js RabbitMQ consumer in Azure
- how to respond from plain tcp client to MessagingTemplate's sendAndReceive
- Java Socket - how does the read() method know if the end of stream has been reached?
- Scala - TCP Packet frame using Akka
- Re-transmission concept in TCP
- Issues regarding multiplayer networking: input
- Getting and Sending Data between a Server and Client
- Jamod Slave Example, can not connect to slave
- Android Phone not sending data over TCP/ip
- Lot of TIME_WAIT connections while using RestTemplate?
- How do I use the windows service and WCF to update some record in database?
Related Questions in INDY
- working with IdHTTPProxyServer1
- Delphi download multithreading
- Delphi Indy HTTP.GET high cpu usage
- Threads: Send data to a specific active thread
- Indy TCP client in thread
- Delphi XE5 Isapi on Windows 2003 R2 server
- Indy 10 raising an unwanted exception
- Delphi Bug in Indy FTP List method?
- How to use capabilities property of TidIMAP4?
- TCameraComponent and TVideoCaptureDevice do not initialize in Win32
- ¿How can I send and recieve strings from tidtcpclient and tidtcpserver and to create a chat?
- Delphi - Send stream using IdCmdTCPServer to a Client
- Need to send data from TServersocket to TidTcpClient
- Delphi: Indy TIdTCPClient Reading XML
- Delphi 7 idHTTP JSON Data Null Result
Related Questions in ARARAT-SYNAPSE
- Lazarus/FreePascal, Synapse send file to TCPBlockSocket
- not delete the message from email server using synapse in delphi
- How to get the number of client and the connect/disconnect events in Synapse ?
- Why is this code not sending or receiving?
- POST/get JSON using Ararat Synapse with special PEM key (Lazarus/FPC)
- Does anyone have a good example of how to use Synapse's Heartbeat function?
- How to create https client with synapse?
- Delphi + Synapse: How to check if I am still connected
- Pascal Delphi - Undeclared Identifier
- How to download faster?
- HttpGetText(), autodetect charset, and convert source to UTF8
- Synapse can't download file
- Synapse and string problems with HTTPSend in Delphi 2010
- Delphi - Download a File with Progress using Synapse
- Synapse HTTPServ Delphi 7 Issue
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
As TLama notes in the comments, each incoming connection shuold fire the OnStatus event with
HR_Accept. If I look over the TBlockSocket source, each disconnect, either by protocol or by error, should fire an OnStatus event with theHR_SocketClosereason on the connection socket.