Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Protocol Terminology: Message versus Packet

In practice, what is the most appropriate term for the communications transmitted over a network in higher level protocols (those above TCP/IP, for example)? Specifically, I am referring to small, binary units of data.

I have seen both "message" and "packet" referred to in various client/server libraries, but I was interested in the community's consensus.

like image 314
Adam Paynter Avatar asked Jun 05 '09 11:06

Adam Paynter


1 Answers

msgs is packet in Network Layer

it is segement in TCP protocol(Transmission Layer)

it is msgs in HTTP or FTP(Application Layer)

like image 172
Hong Cheng Avatar answered Sep 28 '22 03:09

Hong Cheng