I have a simple server application that is using TServerSocket to listen for clients. All my clients that connect to the server app are implemented using TClientSocket. I am not sending huge amounts fo data across (no more than 5k per trip) and the app works well.
Both socket objects are set nonBlocking. I have noticed that sometimes when the client sends data to the server the fourth charcter which is always a ~ is received as a 0 (null) character. It is always the fourth character and this happens infrequently but I cannot understand why it happens
Has anyone come across this?
Also when the server sends a long string of data to the client the client ReceiveText function only reads about 1k of data.
Not sure why this is happening.
Please can anyone help?
Thank you
Both socket objects are set nonBlocking. I have noticed that sometimes when the client sends data to the server the fourth charcter which is always a ~ is received as a 0 (null) character. It is always the fourth character and this happens infrequently but I cannot understand why it happens
Has anyone come across this?
Also when the server sends a long string of data to the client the client ReceiveText function only reads about 1k of data.
Not sure why this is happening.
Please can anyone help?
Thank you