Hi again,

I am making an internet application,

commands between the server and client are numbered so the server knows what to do with the information being received.

example

CLIENT: Hello server, my username is vwiley2001
would be sent to the server like this:
102 vwiley2001

SERVER: Hello vwiley2001, go ahead with your password, would be sent to the client like this:
110 vwiley2001

CLIENT: Hello server, my password is "something"
would be sent to the server like this
115 something

Right now the servers response to the password is, who the heck are you?

I need to find a way to let the server know that
winsock(5) is vwiley2001
or winsock(2) is compguy121

so when winsock(5) sends back "115 something" the server knows to check vwiley2001's password to the password that is stored on the server for that username.

Any idea's would be more than helpful!!!

Vince Wiley