A method comprising: determining, at a radio link layer of a communication stack of a network device, that a communication link between the network device and a network has failed, wherein the determining is performed by a radio chipset of the network device and wherein the determining comprises detecting a loss of the communication link, waiting for a time period, and determining whether the communication link is reestablished before determining that the communication link has failed; and alerting one or more components associated with another layer of the communication stack of the determination that the communication link has failed, wherein the one or more components include an operating system or an application; wherein the alerting comprises one of: alerting a transmission control protocol, TCP, layer component, analyzing a TCP layer log, identifying one or more applications from the TCP layer log, and alerting the one or more applications; exposing a status of the communication link and receiving polling from the one or more components; providing one or more reasons for the failure of the communication link to the one or more components, the one or more reasons being utilized so as to determine whether to terminate connections, wait, or reestablish connections, and wherein different ones of the one or more components take different actions depending on at least one of the one or more reasons or a time since the determination of the failure of the communication link; instructing the one or more components to terminate connections, wait, or reestablish connections; or broadcasting a notification of the determination that the communication link has failed. determining, at a radio link layer of a communication stack of a network device, that a communication link between the network device and a network has failed, wherein the determining is performed by a radio chipset of the network device and wherein the determining comprises detecting a loss of the communication link, waiting for a time period, and determining whether the communication link is reestablished before determining that the communication link has failed; and alerting one or more components associated with another layer of the communication stack of the determination that the communication link has failed, wherein the one or more components include an operating system or an application; wherein the alerting comprises one of: alerting a transmission control protocol, TCP, layer component, analyzing a TCP layer log, identifying one or more applications from the TCP layer log, and alerting the one or more applications; exposing a status of the communication link and receiving polling from the one or more components; providing one or more reasons for the failure of the communication link to the one or more components, the one or more reasons being utilized so as to determine whether to terminate connections, wait, or reestablish connections, and wherein different ones of the one or more components take different actions depending on at least one of the one or more reasons or a time since the determination of the failure of the communication link; instructing the one or more components to terminate connections, wait, or reestablish connections; or broadcasting a notification of the determination that the communication link has failed. alerting a transmission control protocol, TCP, layer component, analyzing a TCP layer log, identifying one or more applications from the TCP layer log, and alerting the one or more applications; exposing a status of the communication link and receiving polling from the one or more components; providing one or more reasons for the failure of the communication link to the one or more components, the one or more reasons being utilized so as to determine whether to terminate connections, wait, or reestablish connections, and wherein different ones of the one or more components take different actions depending on at least one of the one or more reasons or a time since the determination of the failure of the communication link; instructing the one or more components to terminate connections, wait, or reestablish connections; or broadcasting a notification of the determination that the communication link has failed.