# This is the CMakeCache file.
# For build in directory: /home/han/Code/VSCode/client/build
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar
//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-9
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-9
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//C compiler
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-9
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-9
//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=
//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g
//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm
//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=client
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Value Computed by CMake
client_BINARY_DIR:STATIC=/home/han/Code/VSCode/client/build
//Value Computed by CMake
client_SOURCE_DIR:STATIC=/home/han/Code/VSCode/client
########################
# INTERNAL cache entries
########################
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/han/Code/VSCode/client/build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=16
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
linux下tcp的服务端和客户端代码,一个服务器对应多个客户端。 服务端程序对应多个客户端的创建方式有两种,如下: 1、每一个客户端创建一个线程。 2、使用IO多路复用的select方式来应对多个客户端。 程序启动命令如下: 服务器启动命令:$ ./server 37777 客户端启动命令:$ ./client 127.0.0.1 37777
资源推荐
资源详情
资源评论
收起资源包目录
tcp_demo.zip (95个子文件)
tcp_demo
client
CMakeLists.txt 352B
main.cpp 2KB
build
CMakeFiles
Makefile2 3KB
CMakeDirectoryInformation.cmake 638B
client.dir
CXX.includecache 262B
link.txt 82B
depend.internal 172B
depend.make 147B
flags.make 207B
DependInfo.cmake 573B
main.cpp.o 277KB
cmake_clean.cmake 238B
build.make 4KB
progress.make 43B
cmake.check_cache 85B
CMakeTmp
Makefile.cmake 7KB
progress.marks 2B
CMakeOutput.log 43KB
3.16.3
CompilerIdC
CMakeCCompilerId.c 20KB
tmp
a.out 16KB
CMakeDetermineCompilerABI_CXX.bin 16KB
CMakeCXXCompiler.cmake 5KB
CMakeSystem.cmake 402B
CMakeCCompiler.cmake 2KB
CMakeDetermineCompilerABI_C.bin 16KB
CompilerIdCXX
tmp
CMakeCXXCompilerId.cpp 20KB
a.out 16KB
TargetDirectories.txt 182B
cmake_install.cmake 1KB
Makefile 5KB
client 146KB
CMakeCache.txt 13KB
selectServer
CMakeLists.txt 251B
main.cpp 366B
build
CMakeFiles
Makefile2 3KB
server.dir
CXX.includecache 423B
link.txt 108B
server.cpp.o 77KB
depend.internal 378B
depend.make 292B
flags.make 246B
DependInfo.cmake 757B
main.cpp.o 17KB
cmake_clean.cmake 277B
build.make 5KB
progress.make 64B
CMakeDirectoryInformation.cmake 664B
cmake.check_cache 85B
CMakeTmp
Makefile.cmake 5KB
progress.marks 2B
CMakeOutput.log 22KB
3.16.3
CMakeDetermineCompilerABI_CXX.bin 16KB
CMakeCXXCompiler.cmake 5KB
CMakeSystem.cmake 402B
CompilerIdCXX
tmp
CMakeCXXCompilerId.cpp 20KB
a.out 16KB
TargetDirectories.txt 221B
cmake_install.cmake 1KB
Makefile 5KB
CMakeCache.txt 12KB
server 55KB
server.cpp 6KB
server.h 516B
server
CMakeLists.txt 352B
main.cpp 3KB
build
CMakeFiles
Makefile2 3KB
server.dir
CXX.includecache 280B
link.txt 82B
depend.internal 172B
depend.make 147B
flags.make 207B
DependInfo.cmake 573B
main.cpp.o 527KB
cmake_clean.cmake 238B
build.make 4KB
progress.make 43B
CMakeDirectoryInformation.cmake 638B
cmake.check_cache 85B
CMakeTmp
Makefile.cmake 7KB
progress.marks 2B
CMakeOutput.log 43KB
3.16.3
CompilerIdC
CMakeCCompilerId.c 20KB
tmp
a.out 16KB
CMakeDetermineCompilerABI_CXX.bin 16KB
CMakeCXXCompiler.cmake 5KB
CMakeSystem.cmake 402B
CMakeCCompiler.cmake 2KB
CMakeDetermineCompilerABI_C.bin 16KB
CompilerIdCXX
tmp
CMakeCXXCompilerId.cpp 20KB
a.out 16KB
TargetDirectories.txt 182B
cmake_install.cmake 1KB
Makefile 5KB
CMakeCache.txt 13KB
server 302KB
共 95 条
- 1
资源评论
夜雨听萧瑟
- 粉丝: 227
- 资源: 15
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 精选毕设项目-二十四节气小程序.zip
- 精选毕设项目-房地产公司展示.zip
- 精选毕设项目-房贷计算器.zip
- 精选毕设项目-仿ofo共享单车.zip
- 精选毕设项目-仿饿了么.zip
- 精选毕设项目-仿斗鱼直播小程序.zip
- 精选毕设项目-仿哔哩哔哩.zip
- 精选毕设项目-仿拉钩App小程序.zip
- 精选毕设项目-仿美团外卖.zip
- 精选毕设项目-服装供销商城小程序.zip
- 精选毕设项目-疯狂吃月饼(node+mysql).zip
- 精选毕设项目-购物节抽奖小程序.zip
- 精选毕设项目-个人音乐台.zip
- 数据库系统基础理论与数据模型关键技术详解
- 精选毕设项目-股票分时图K线图小程序.zip
- 精选毕设项目-光影娱乐带后台.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功