Sockets on Ubuntu (operation not permitted)

前端 未结 2 1938
情书的邮戳
情书的邮戳 2021-01-03 03:35

I\'m newbee and just making my first steps in c++ under linux. So I have some task about sockets. I\'m following guides, especially this one. And code examples are not worki

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-03 04:05

    Because of no permission. You can #define SOCK_PATH "/home/username/echo_socket" and it will run normally.

提交回复
热议问题