Welcome, Guest
Username: Password: Remember me
Components and Libraries for Networking Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

Synapse - socket CanRead problem 6 years 2 months ago #11352

  • Premysl Beran
  • Premysl Beran's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 48
  • Thank you received: 0
Hi,

I wanted to create a program which listens on the local port. For this purpose, I've selected TCPBlockSocket from Synapse package. I found at Synapse web pages the echo server example which does the same thing. And I found that the function CanRead always return false. So I'm not able to create the server thread.

I tried to search but I didn't find anything that could solve this problem.

In the attachment, you will find the source code of this example with a small modification to show the status of the CanRead function.

Thanks for any advice.

With best regards

Premek
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Premysl Beran.
  • Page:
  • 1