user63898
user63898

Reputation: 30973

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 {
  unsigned long* Internal;
  unsigned long* InternalHigh;
  union {
    struct {
      WORD Offset;
      WORD OffsetHigh;
    };
    void* Pointer;
  };
  HANDLE hEvent;
} OVERLAPPED;

Upvotes: 0

Views: 238

Answers (2)

Nam Nguyen
Nam Nguyen

Reputation: 1793

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.

Upvotes: 1

Simon
Simon

Reputation: 1504

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

Upvotes: 1

Related Questions