When two end points (A & B) are connected via socket , and end point A disconnects, does end point B necceserily gets notified about the disconnection?
What will be the trigger for end point B to know that the connection was lost?
Will he get notified about the disconnection when he sends data to end point A?
Please focus the answer to the properties of the TCP protocol, ignoring specific language implementation.