facing problem in binding
Unsolved
General and Desktop
-
@ManiRon Why don't you use http://doc.qt.io/qt-5/qtnetwork-index.html ? Then your question would be related to Qt.
And you don't even mention what problem you face... -
@ManiRon So, it's not a compiler error but a runtime error.
You should zero your address first likebzero((char *) &address, sizeof(address));
As shown here http://www.cs.rpi.edu/~moorthy/Courses/os98/Pgms/socket.html