由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 想知道家在linux下都有什么c++ socket library
相关主题
求建议:C++的TCP/IP编程库c++11 std thread类 怎么样,大家用过么
C++11 大家有用过吗?[合集] 求助: socket传递C++ class的问题
Pthread support on Windows XPpython和java里面非memory资源怎么回收?
multithread: how to lock a thread请问C++下面有什么好的socket的class
有啥比较好的multithreaded C++ project?请问大牛:如何得到当前系统中有哪些socket在运行?
有专门介绍multithreading编程的书吗An interview project: asynchronous socket programming
openMP or boost::thread (pthread) for multithreading ?C++网络编程问题
单开主题:为何痛恨pythonC++里面如何实现向多个终端输入输出or多个界面?
相关话题的讨论汇总
话题: socket话题: want话题: c++话题: 想知话题: use
进入Programming版参与讨论
1 (共1页)
s****n
发帖数: 700
1
是直接用系统带的C API还是其他的什么。
不知道有什么比较好用的么
b*******s
发帖数: 5216
2
#include "pthread.h"
gcc -lpthread
X****r
发帖数: 3557
3
I don't see how pthread relates to sockets.

【在 b*******s 的大作中提到】
: #include "pthread.h"
: gcc -lpthread

X****r
发帖数: 3557
4
I don't see how pthread relates to sockets.

【在 b*******s 的大作中提到】
: #include "pthread.h"
: gcc -lpthread

h****e
发帖数: 2125
5

if u do OOP u might want to use a C++ socket lib. I have used many socket
libraries and even written one of my own. it really depends upon what u
want to do: if u just do simple send/receive any lib would suffice, POCO
for example is really simple to use and has implemented many useful
applications like multithreaded TCP server. if u want an even-driven
distributed system u need to use ACE. if u need cross-platform u might
want to use boost::asio. if u want serialization/deserialization u can try
Google protobuf, if u want reliable multicast u could use Enet...

【在 s****n 的大作中提到】
: 是直接用系统带的C API还是其他的什么。
: 不知道有什么比较好用的么

N***m
发帖数: 4460
6
恩,也许LZ思维跳跃的太快。
今天突然想起一道问题,不知道有没有解。
我们称一个NxN矩阵M是好的,如果它满足如下条件:
每个submatrix S_{N/2-k,N/2+k}的行列式>=0。(不妨考虑N奇数情况)
Here notation S_{ij} means坐上角index(i,i)并且右下角index(j,j)的矩阵。
那么,给定一个N^2个distinct正数a_{ij},如何排列成一个好矩阵?

【在 X****r 的大作中提到】
: I don't see how pthread relates to sockets.
h****e
发帖数: 2125
7

his ID indicates why...

【在 X****r 的大作中提到】
: I don't see how pthread relates to sockets.
1 (共1页)
进入Programming版参与讨论
相关主题
C++里面如何实现向多个终端输入输出or多个界面?有啥比较好的multithreaded C++ project?
处理海量csv数据+socket data stream processing: scala还是clojure有专门介绍multithreading编程的书吗
The WhatsApp ArchitectureopenMP or boost::thread (pthread) for multithreading ?
学习multi threading, 有什么好书?单开主题:为何痛恨python
求建议:C++的TCP/IP编程库c++11 std thread类 怎么样,大家用过么
C++11 大家有用过吗?[合集] 求助: socket传递C++ class的问题
Pthread support on Windows XPpython和java里面非memory资源怎么回收?
multithread: how to lock a thread请问C++下面有什么好的socket的class
相关话题的讨论汇总
话题: socket话题: want话题: c++话题: 想知话题: use