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, it 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. It 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 0
(zero) of the Param
parameter causes all communication requests to be dropped.