facing problem in binding
Unsolved
General and Desktop
-
@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