void MainWindow::on_msgArea_returnPressed()
{
if( !(ui->msgArea->text() == ""))
{
sendTheMsg();
}
}
@
this is the client code..this code I have to change and me it to communicate with the server..but I cant find why cannot send and recieve a msg