answersLogoWhite

0


Best Answer

A datagram socket represents a connectionless, non-guaranteed communication protocol. It represents the UDP protocol in the TCP/IP suite.

Contrast this with a stream socket, which represents a connection oriented, guaranteed, communication protocol. It represents the TCP protocol in the TCP/IP suite.

UDP is the underlying protocol for TCP. If you are talking OSI model, UDP is layer 3, and TCP is layer 4.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why do you have type data gram socket?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is socket programming in C?

There is nothing called "socket programming in C." Sockets can be programmed in any programming language. What follows below is a basic idea on how to program sockets. Socket programming refers to the use of a set of APIs for sending and receiving data over a network. The socket APIs originated on the BSD OS standardized by POSIX and are now found on UNIX, Linux, Windows, and Mac OS. The concept of a socket is an abstraction for an end point in network communication through which data can be sent to and received from. The major socket API functions are: * socket() -- creates a socket of specified type and protocol * bind() -- assigns a local name or address to the socket (in the IP protocol this is usually an IP address and port * connect() -- connects a socket to a remote end point * listen() -- changes the socket's state to listen for incoming connections * accept() -- accepts an incoming connection and returns a new socket for communication over that connection * send() -- send data to remote end point specified with connect() call * sendto() -- in connectionless protocols such as UDP, sends data to a specified remote end point * recv() -- receive data from remote end point (after connection established) * recvfrom() -- receive data from a specified remote end point in connectionless protocol * getsockopt() -- gets current value for a particular socket option * setsocketoption() -- set value of a particular socket option


What data type is age?

integer data type


What data type is middle initial?

what data type is Middle initial


Which data type can store any data?

There is no such data type. However, when we use user-defined data types of our own type, then that type of data can be stored in a variable. So as a term, you may say that user-defined data type can store any data. As the data-type used in any variable will be depending upon us.


What is data type and field name?

Data Type defines the type of data that will be stored. Example : int, byte, short etc

Related questions

Motherboard socket type is used on the Pentium 4 chip?

Look for what type of socket the CPU has its usually lga 1155 but there are other kinds so you should look under specs and find the socket type and then find a motherboard that has the socket type


What is a socket type?

In computer hardware, a socket type is the designated type of slot where other cards and processors will fit into. Some socket types include PCI, ISA and PCI-express. A common socket type for processors is the LGA 775.


When buying a motherboardthe CPU needs to be compatibleexplain?

Each motherboard possesses certain socket type, for instance, from Intel LGA 771, LGA 775, Socket 478, 604, Socket M and P, for AMD Socket 754, 939, 940, AM2, AM2+, Socket F and socket S1. Thus, when you are going to buy a motherboard you have to have or buy a CPU with the same type of socket. A CPU with one type of socket will not fit another type of socket!


Which type of motherboard socket is used for a Pentium 4 CPU?

Socket A.


What is a FC-PGA socket?

It is a type of array to fit into an intel Socket 370 or Socket 478 CPU socket.


What type of socket is used to install memory?

What type of socket is used to install system memory


Is a chipset and a socket the same thing for a computer motherboard?

No :) A chipset is an electronic chip located on the board which manages the motherboard and processes some data. A socket is a type of female plug on which you plug a removable electronic chip (CPU for example)


What is socket programming in C?

There is nothing called "socket programming in C." Sockets can be programmed in any programming language. What follows below is a basic idea on how to program sockets. Socket programming refers to the use of a set of APIs for sending and receiving data over a network. The socket APIs originated on the BSD OS standardized by POSIX and are now found on UNIX, Linux, Windows, and Mac OS. The concept of a socket is an abstraction for an end point in network communication through which data can be sent to and received from. The major socket API functions are: * socket() -- creates a socket of specified type and protocol * bind() -- assigns a local name or address to the socket (in the IP protocol this is usually an IP address and port * connect() -- connects a socket to a remote end point * listen() -- changes the socket's state to listen for incoming connections * accept() -- accepts an incoming connection and returns a new socket for communication over that connection * send() -- send data to remote end point specified with connect() call * sendto() -- in connectionless protocols such as UDP, sends data to a specified remote end point * recv() -- receive data from remote end point (after connection established) * recvfrom() -- receive data from a specified remote end point in connectionless protocol * getsockopt() -- gets current value for a particular socket option * setsocketoption() -- set value of a particular socket option


What type of socket used to install system memory?

What type of socket is used to install system memory


What is the return type of accept method in the server socket classes?

SOCKET


What are the gram reaction of mycobacterium?

Whar are the gram reaction of mycobacterium?Type your answer here...


What type of energy is wall socket?

Electrical energy comes out of a wall socket.