简体   繁体   中英

What is a packet UDP/TCP?

Im getting into Winsocks and is there any reference to tell me what a packet is. Like UDP/TCP Packets?

A good starting point for TCP/IP is here: http://en.wikipedia.org/wiki/Internet_Protocol_Suite , and for UDP here: http://en.wikipedia.org/wiki/User_Datagram_Protocol

In addition, this looks like a pretty good introduction to Winsock in C++: http://www.madwizard.org/programming/tutorials/netcpp/

Google is your friend here. If anything is available on the internet it is TCP/IP information.

This is as good a start as any. When you get really serious this is as close to a classic text as there is.

A packet is a small "chunk" of data. Usually when you send data over a network, it cannot go in a complete piece (actually it could but networks don't work like that because it's faster to send data in pieces). It is broken up into packets , segments , and datagrams

a packet is small piece of data witch can be transferable over a network. in it data is packed along with check sum for error checking. For UDP - you can say it is nothing but broadcasting of messages(Packets) with no acknowledgment. And For TCP/IP - It is protocol for transferring data over network

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM