I am making a client server app. I cant figure out a good protocol. I came up with the following packet for the signno process.



Code:
000000x1USERNAME00x2PASSWORD00x3CLIENT0000

Broken down, it means:


Code:
0000 = packet start/end
00x1 = username is coming Next
USERNAME
00x2 = password is coming Next
PASSWORD
00x3 = client verson is coming
CLIENT VERSION
0000 = packet start/end

I was wondering what everyone thinks of this? Any susgesions? Thanks in advance!

Kevin Carpenter
Freelance Computer Programmer