C#C
C#6mo ago
AceChewy

✅ Server Messages not Displaying in Client Terminal

I have a very basic client server set up making use of sockets, and at the moment I currently have it so that when a client connects to the server, I want the client to see the welcome message from the server. Before writing the client code, I was using ncat to help me test the server, and it was all working as intended.

After writing my client code, for some reason I am coming across an issue where the echo from the server and the welcome message from the server are not being sent back correctly to the client.

Any help is appreciated

Here is a link to the repo with all the code: https://github.com/AbuTar/ChatApp/tree/master
image.png
image.png
image.png
image.png
GitHub
Contribute to AbuTar/ChatApp development by creating an account on GitHub.
Was this page helpful?