开发者

to build cross platform async event based server that is working on windows and linux which lib to use?

after reading this great article im not sure how can i build simple cross platform server that can be has good as linux single event based servers . i didnt understand can it be done ? does boost aio is the right tool for this ? is there any other tool for this ?

im using c++ as the programming .

typedef struct {
 开发者_Python百科 unsigned long* Internal;
  unsigned long* InternalHigh;
  union {
    struct {
      WORD Offset;
      WORD OffsetHigh;
    };
    void* Pointer;
  };
  HANDLE hEvent;
} OVERLAPPED;


I would also recommend the Adaptive Communication Environment http://www.cs.wustl.edu/~schmidt/ACE-overview.html. But if you already use Boost in your existing code, boost::asio is a wonderful library to work with too.


Yes, boost::asio is the right thing to go with.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜