hookenz
hookenz

Reputation: 38897

Can I call select on a datagram socket without using blocking I/O

Can I call select before recv_from on a socket that is blocking?

Upvotes: 1

Views: 307

Answers (1)

Remy Lebeau
Remy Lebeau

Reputation: 596287

Yes. select() supports both blocking and non-blocking sockets.

Upvotes: 2

Related Questions