- Posts: 42
- Thank you received: 0
- Forum
- CodeTyphon Studio
- CodeTyphon Studio Components and Libraries
- Networking Development
- Synapse - socket CanRead problem
×
Components and Libraries for Networking Development, discussions, problems and suggestions
Question Synapse - socket CanRead problem
- Premysl Beran
- Topic Author
- Offline
- Junior Member
-
Less
More
4 years 5 months ago - 4 years 5 months ago #11352
by Premysl Beran
Synapse - socket CanRead problem was created by Premysl Beran
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
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:
Last edit: 4 years 5 months ago by Premysl Beran.
Please Log in or Create an account to join the conversation.