Transport Layer Interface Purpose Retrieves information from disconnect.
Parameters fd Identifies the local transport end point where the connection existed.
If a disconnect indication occurs, the sequence field can be used to identify which of the outstanding connect indications is associated with the disconnect. If a user does not care if there is incoming data and does not need to know the value of the reason or sequence fields, the discon parameter may be null and any user data associated with the disconnect will be discarded. The specified file descriptor does not refer to a transport end point. The number of bytes allocated for incoming data is not sufficient to store the data. An asynchronous event has occurred on this transport endpoint and requires immediate attention.