In the networking software layer, the message from the application software layer is formatted according to whatever protocol will actually be used to send it over the network.
Commonly used protocols for WANs are Transmission Control Protocol/Internet Protocol (TCP/IP) for the Internet and ANSI X 12 or EDIFACT for ED!.