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/
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