help! cannot bind to socket!# Unix - 噫吁兮,危乎高哉
w*r
1 楼
look at the code.
I compare it with the example program words by words.
and I have tried -lsocket -lsnl in linking.
(of course, the system says there is no such file or directory.
BTW, all the socket and bind are system calles. need to link
socket library?)
does not work at all.
I typed the error message, it says: the address is already
in use.
following is the code. thanks a lot!!
I compare it with the example program words by words.
and I have tried -lsocket -lsnl in linking.
(of course, the system says there is no such file or directory.
BTW, all the socket and bind are system calles. need to link
socket library?)
does not work at all.
I typed the error message, it says: the address is already
in use.
following is the code. thanks a lot!!