1
Network / Dont get all data - UDP and TCP
« on: December 11, 2009, 07:24:43 pm »
Hi, I have a big problem in a network program.
I have written a simple chat. The problem is that I dont receive all data. I get only the first 4 characters of the sending string.
I have testet all possibilites with different sockets (UDP/TCP), threads etc.
Heres my actually Code (in UDP):
http://codepaste.net/tyokzh
The hole project is here:
http://www.uwe-collmer.de/Netzwerk.rar
I hope someone can help me...
I have written a simple chat. The problem is that I dont receive all data. I get only the first 4 characters of the sending string.
I have testet all possibilites with different sockets (UDP/TCP), threads etc.
Heres my actually Code (in UDP):
http://codepaste.net/tyokzh
The hole project is here:
http://www.uwe-collmer.de/Netzwerk.rar
I hope someone can help me...