Hi Samurai,
thanks for the reply. I forgot soemthign in the script. I can use strings. It works good but i just want to have it easier.
This is my real function atm.
function login_start(var sender, STRING* msg)
{
inkey(username);
inkey(password);
STRING* info_send = "";
str_cpy(info_send, username);
str_cat(info_send, ",");
str_cat(info_send, password);
enet_clsend_event(19, info_send, 0, SERVER);
}
I´m sending "username,password" to hte server.
THe server receives this. I´m then using a method of str_len, str_trunc, str_clip to cut this info back into username and password. THat works. But is just too much of code. So i wanted it easier.
How would it look now if i would send username and password together? (please use my code as example)
A last question. What is the memcpy function? I dont have this command. Is it integrated in ANET?
Really much thanks for your help
