The existing echo demo program doesn't show how to stop a TCP server. Attached an extended sample program. It would be nice to share it.
And here an updated version indicating "connection made" or "connection lost". It is for Lazarus & FPC
Log in to post a comment.
And here an updated version indicating "connection made" or "connection lost". It is for Lazarus & FPC