On 07/09/2020 05:59, Vijay Mathew wrote:
To use the non-blocking functions like acceptNB and sendVecNB, do I need to
explicitly set the socket to non-blocking mode? If that is the case, how
can I do it?

Are there any documents/examples on how to generally do non-blocking IO in
PolyML?


You don't have to do anything special to use these calls. To be honest, though, it's probably better to use "select" to check the state of the socket and then use a blocking call. There are a few tests of the non-blocking calls in the Tests/Succeed directory.

David

_______________________________________________
polyml mailing list
polyml@inf.ed.ac.uk
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml

Reply via email to