![]() TCP is connection oriented and UDP is connectionless, which means that UDP sockets do not need to be connected before being used. A TCPClient initiates the communication with a server which is waiting for the connection. NET Framework has two classes for TCP which are TCPClient and TCPListener. ![]() Stream sockets use TCP and datagram sockets use UDP. I will give you a brief description of TCP/IP protocol which has the main types of stream sockets and datagram sockets. Different types of sockets correspond to different protocols. Download source (ReceiveFiles) - 33.5 KBĪ socket is an abstraction through which an application may send and receive data, in pretty much the same way as opening a file to read and write data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |