Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

Error message: /usr/include/sys/socket.h:197:12: note: declared here simple_server.c:38:50: error: ‘client_addr’ undeclared (first use in this function) i have tried to change socket.h file, "Error writing sovket.h permition denied" sombody can help me?

OpenStudy (anonymous):

mac or linux ?

OpenStudy (anonymous):

linux

OpenStudy (anonymous):

try chmod a=rw /usr/include/sys/socket.h then try to edit the file, i think it should work

OpenStudy (anonymous):

chmod: changing permissions of `/usr/include/sys/socket.h': Operation not permitted

OpenStudy (anonymous):

sudo chmod ...

OpenStudy (anonymous):

i got it, thanks a lot

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!