Where can I find sample client-server program using poll.
Or if someone has it can they share it.

Recommended Answers

All 2 Replies

never heard of such a thing, most likely because it would be grossly inefficient. The library at www.DataReel.com contains client/server code ported to both *nix and MS-Windows, but it uses standard sockets.

poll and epoll are like select.
While through select you can establish only 1024 connections using poll and epoll we can establish 200,000 connections
In places where we need more no. of socket poll and epoll are prefered
Though they are only available at Linux.

One sample site I got is
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/index.jsp?topic=/rzab6/example.htm

Anyone visiting can refer this it is good.

commented: Learn something new every day :) +24
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.