[solved] SIGSEGV segmentation fault
-
Hi,
From the code you posted, neither serveurIP nor serveurPort are initialized
-
Then, the calls should be
@socket->connectToHost(ui->serveurIP->text(), ui->serveurPort->value());@
-
So what was the problem ?
Since you solved it, please update the thread title prepending [solved] so other forum users may know a solution has been found :)
-
What is strange is that this would compile, so I guess you have member variables with these names in your class ? If so remove you should remove them