Rejects the ongoing communication request.
After calling one of the Net...
communication methods, asynchronous reading or writing occurs and after its termination the corresponding EndNet...
event is triggered. Using the NetReset
method, it is possible to perform the so-called request discard, which means that the event triggering for the discarded request is cancelled. Thus, the application is not passed the value of the communication result or possibly read values, although physically the communication takes place.
method discards such requests that were specified by Net...
methods with the same Param
parameter. In practice, this means that communication requests having the same Param
parameter are always discarded at once. If independent discarding is required, then the requests must have different Param
The value of the Param
(zero) causes all communication requests to be dropped.