Can somebody help me with sockets..
-
Hello thug developers, I have a very anoying irritating problem here with my app. I've worked hard to understand VC++, searched all over the internet to find out how things work. So I managed to code an app like a very very simple chat application. A simple peer to peer connection for just sending each other a line of text, that's all. After solving all the errors and warnings, I finally completed my app. I started to test my app and found out that it can connect with the other pc and it can receive data from other pc, but I can't print the recieved text on the screen. I've checked msdn and everything, but I just don't understand what I did wrong. So I hope someone here is able to receive my sourcecode en check what I've done wrong. If there is someone to check it for me I'll be very very very very happy if he can solve my problem. If someone wants to help me via email, than this is my adres: ammeniar@hotmail.com Than you very very very much. If I was a gay I would tongkiss ya ;) thnx boyz and girlz!! If my application works, I forget all my problems.
-
Hello thug developers, I have a very anoying irritating problem here with my app. I've worked hard to understand VC++, searched all over the internet to find out how things work. So I managed to code an app like a very very simple chat application. A simple peer to peer connection for just sending each other a line of text, that's all. After solving all the errors and warnings, I finally completed my app. I started to test my app and found out that it can connect with the other pc and it can receive data from other pc, but I can't print the recieved text on the screen. I've checked msdn and everything, but I just don't understand what I did wrong. So I hope someone here is able to receive my sourcecode en check what I've done wrong. If there is someone to check it for me I'll be very very very very happy if he can solve my problem. If someone wants to help me via email, than this is my adres: ammeniar@hotmail.com Than you very very very much. If I was a gay I would tongkiss ya ;) thnx boyz and girlz!! If my application works, I forget all my problems.
Why don't you post here the source code that handles the drawing of the message? Also you can search in the articles for CSocket - it's a chat program and you can look trough it to see how he does it. Actually where do you want to draw the message? In a listbox, or directly on the CDC?