Pregunta de entrevista de Meta

How does 2 devices communicate in a network?