Try using port events. man  port_get(3C) and port_associate(3C).

Rao


Hariram wrote:

We are building a Server Application that needs to handle thousands of TCP connections. The usual procedure is to open up a socket for each TCP connection and then construct a read-file-descriptor list and pass it to select(). When select() returns, check for each file descriptor whether it is set in the read-file-descriptor-list. Walking through the list of thousand descriptors to see whether it is ready for read is CPU-consuming. Instead, is there a way to collect TCP data directly through any other messaging scheme to the User Application?
Is there a way to plumb any module above TCP device (instead of Sockets) so as 
to directly send a message to the Application?

Any help?

Thanks.


This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to