06-05-2008, 07:15 AM
Wait a sec.. By the looks of it, you are like imitating the mirage chatting system. To make a basic chat system, you really dont need all those packets, unless of course you have those shouts (broadcast, tell player, global, etc..) But anyway, if you are just gonna make a regular chat, why not just send the text over to the server and from server to client with the winsock function 'SendData'.
then in the server, have it recieve it with the GetData function.
Code:
frmClient.Winsock.SendData
then in the server, have it recieve it with the GetData function.