⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 这是国外的resip协议栈
💻
字号:
Getting Started with NetxxBuilding NetxxThe following instructions will show you how to compile Netxx on mostplatforms.Building on UnixTo build Netxx from the command line of a Unix-like operating system youuse the configure.pl perl script. There are various command line optionsthat can be given to configure.pl to change various compile time settings.You should begin by reviewing the available options by running ./configure.pl --help.Once you know which command line options you want to give to configure.plyou can run it. First, it will check your build environment to verify thatyou have the proper tools to build Netxx. After that, it will generate themake-files for your system. When configure.pl is done you can run the makeprogram to build Netxx.After Netxx is built, you can install the library and header files. This isdone with the make program and the install target.Building on MacOS XBuilding Netxx on MacOS X is similar to building it on Unix. You can followthe instructions for building on Unix if you wish. Either way, you need toinstall the Developer Tools from Apple.There is a shell script in build/macosx called configure.sh. When you runthat script the configure.pl perl script will be run with some good defaultvalues. After it is finished, you can build Netxx using the make program.Building on WindowsThe following instructions apply to users of Microsoft Visual Studio. Ifyou want to build Netxx under cygwin, follow the directions for building onUnix.There is a MSVC workspace file in build/msvc that can be used to buildNetxx on Windows. Open the Netxx.dsw workspace file. Once the workspace isloaded, pull down the Build menu and choose the Batch Build... menu item. Adialog box will appear, click the Rebuild All button.Learning the Netxx APIThe fastest way to learn how to use Netxx is to review the included exampleprograms. Netxx comes with many simple and easy to understand exampleprograms such as an echo client/server and daytime client/server.For complete API reference, you should take a look at the class referenceappendix of the Netxx manual or the doxygen generated web pages. Even withthese resources, the best place to hang out is in the Netxx header files.Linking with NetxxAt some point you are going to need to link with the Netxx library. If youare on a Unix-like operating system you can use the Netxx-config shellscript. This script can be used to give command line options to yourcompiler and linker.It also provides a way to abstract yourself from the operating system. Someoperating systems require you to link TCP/IP enabled applications with asocket library. The Netxx-config script will automatically supply thecorrect libraries to the linker, including the OpenSSL library ifnecessary.The Netxx-config script can also be helpful to figure out the version ofthe installed Netxx library. There is also a little hint in the versionstring, if it ends with -TLS you know it is safe to use the Netxx::TLSinterface on this platform.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -