Beispiel #1
0
void login1(int sock, string nickName, string pass){
    cout << "login with: " << &(nickName[0]) << " password:"******"lin:" + conts.change(sock, nickName, pass);
    if (send(sock, &(response[0]), response.length(), 0))
        perror("send");
    cout << &(response[0]) << endl;
}