What package do i need to install for using routing sockets?

前端 未结 5 1229
小鲜肉
小鲜肉 2020-12-09 21:59

i am trying code given in Unix Network Programming by Richard Stevens. but i am not able to get the code to compile.

here is the source code. http://www.cs.cmu.edu/a

5条回答
  •  孤城傲影
    2020-12-09 22:46

    Please note, you DO NOT need to make in that folder "libroute"

    See the Document:

    cd ../libroute # only if your system supports 4.4BSD style routing sockets
    make           # only if your system supports 4.4BSD style routing sockets
    
    cd ../libxti   # only if your system supports XTI
    make           # only if your system supports XTI
    

    Linux is not BSD style routing, just go to ../intro and build examples~!

提交回复
热议问题