emihaly
04-04-2003, 09:48 AM
hi,
i can use poll or select to monitor if i can read or write socket. But when it return list of sokcets, i must search full of my array of sokcet where is this socket.
Is possible use some better way? Like i put to socket, to select or poll with my index in array and select or poll return socket with index or only index(s). ?
i can use poll or select to monitor if i can read or write socket. But when it return list of sokcets, i must search full of my array of sokcet where is this socket.
Is possible use some better way? Like i put to socket, to select or poll with my index in array and select or poll return socket with index or only index(s). ?