LIS Links

First and Largest Academic Social Network of LIS Professionals in India

Latest Activity

Narendra Pal shared a profile on Facebook
Thursday
Profile IconLIS Links now has birthdays
Thursday
Dr. U. Pramanathan posted blog posts
Thursday
Dr. U. Pramanathan posted events
Thursday
Dr. U. Pramanathan updated their profile
Wednesday
Urvashi kaushik replied to Sunil K Upneja's discussion Clarification regarding CAS promotion of College Librarian
Wednesday
S. Jaffer Basha left a comment for Dr Jolly Varghese U
Nov 18
Dr. U. Pramanathan posted blog posts
Nov 18
Dr. U. Pramanathan posted events
Nov 18
ASHOKKUMAR SINGH commented on Dr. U. Pramanathan's blog post Recruitment of Librarian Gr.II/Librarian Senior, Assistant Librarian, Library Restorer & Documentist @ Baba Farid University of Health Sciences (BFUHS), Faridkot, Punjab.
Nov 18
ASHOKKUMAR SINGH commented on Dr. U. Pramanathan's blog post Recruitment of Librarian Gr.II/Librarian Senior, Assistant Librarian, Library Restorer & Documentist @ Baba Farid University of Health Sciences (BFUHS), Faridkot, Punjab.
Nov 18
Sanraj Roy posted an event
Thumbnail

Advanced Training programme on Bibliometrics and Research Output Analysis at Library Network Centre, Infocity, Gandhinagar382007, Gujarat, India.

December 2, 2024 to December 6, 2024
Nov 17
SHWETHA KV posted a discussion
Nov 17
Sunil K Upneja posted a discussion
Nov 17
Dr. Mahabaleshwara Rao Baikady posted an event

6th NACML (National Conference on Management of Modern Libraries) - 2025 at Dr. TMA Pai Hall

February 21, 2025 at 8am to February 22, 2025 at 5pm
Nov 17
Saanvi Singh posted a status
"School Librarian Vacancy for 125 Post in Tripura: https://shorturl.at/GEgWl"
Nov 16
Urvashi kaushik and Vikram Jain are now friends
Nov 15
Urvashi kaushik replied to Mrs. Vishakha R. Rajguru's discussion Evidence for CBSE Librarians Status in Maharashtra or Maharashtra govt.
Nov 15
Urvashi kaushik replied to Mrs. Vishakha R. Rajguru's discussion Evidence for CBSE Librarians Status in Maharashtra or Maharashtra govt.
Nov 15
Profile IconRenuka M Yalamali, SAMEER SAI PAINKRA, Annanya and 6 more joined LIS Links
Nov 15

Q.15.Which one of the following protocol is used in file transfer over internet ?

(A) FTP              (B) SMTP
(C) POP               (D) TCP/IP

WHY NOT THIS QUESTION ANSWER IS TCP/IP PLEASE DISCUSS.

Views: 1520

Reply to This

Replies to This Forum

it is tcp/ip correct answer

yes its answer is FTP - File Transfer Protocol

Transmission Control Protocol

The Transmission Control Protocol (TCP) is one of the core protocols of the Internet Protocol Suite. TCP is one of the two original components of the suite, complementing the Internet Protocol(IP), and therefore the entire suite is commonly referred to as TCP/IP. TCP provides reliable, ordered delivery of a stream of octets from a program on one computer to another program on another computer. TCP is the protocol used by major Internet applications such as the World Wide Webemailremote administration and file transfer. Other applications, which do not require reliable data stream service, may use the User Datagram Protocol (UDP), which provides a datagram service that emphasizes reduced latency over reliability.

Network function

The protocol corresponds to the transport layer of TCP/IP suite. TCP provides a communication service at an intermediate level between an application program and the Internet Protocol (IP). That is, when an application program desires to send a large chunk of data across the Internet using IP, instead of breaking the data into IP-sized pieces and issuing a series of IP requests, the software can issue a single request to TCP and let TCP handle the IP details.

IP works by exchanging pieces of information called packets. A packet is a sequence of octets and consists of a header followed by a body. The header describes the packet's destination and, optionally, the routers to use for forwarding until it arrives at its destination. The body contains the data IP is transmitting.

Due to network congestion, traffic load balancing, or other unpredictable network behavior, IP packets can be lost, duplicated, or delivered out of order. TCP detects these problems, requests retransmission of lost data, rearranges out-of-order data, and even helps minimize network congestion to reduce the occurrence of the other problems. Once the TCP receiver has reassembled the sequence of octets originally transmitted, it passes them to the application program. Thus, TCP abstracts the application's communication from the underlying networking details.

TCP is utilized extensively by many of the Internet's most popular applications, including the World Wide Web (WWW)E-mailFile Transfer ProtocolSecure Shellpeer-to-peer file sharing, and some streaming media applications.

TCP is optimized for accurate delivery rather than timely delivery, and therefore, TCP sometimes incurs relatively long delays (in the order of seconds) while waiting for out-of-order messages or retransmissions of lost messages. It is not particularly suitable for real-time applications such as Voice over IP. For such applications, protocols like the Real-time Transport Protocol (RTP) running over the User Datagram Protocol (UDP) are usually recommended instead.[2]

TCP is a reliable stream delivery service that guarantees that all bytes received will be identical with bytes sent and in the correct order. Since packet transfer is not reliable, a technique known as positive acknowledgment with retransmission is used to guarantee reliability of packet transfers. This fundamental technique requires the receiver to respond with an acknowledgment message as it receives the data. The sender keeps a record of each packet it sends. The sender also keeps a timer from when the packet was sent, and retransmits a packet if the timer expires before the message has been acknowledged. The timer is needed in case a packet gets lost or corrupted.[2]

TCP consists of a set of rules: for the protocol, that are used with the Internet Protocol, and for the IP, to send data "in a form of message units" between computers over the Internet. While IP handles actual delivery of the data, TCP keeps track of the individual units of data transmission, called segments, that a message is divided into for efficient routing through the network. For example, when an HTML file is sent from a Web server, the TCP software layer of that server divides the sequence of octets of the file into segments and forwards them individually to the IP software layer (Internet Layer). The Internet Layer encapsulates each TCP segment into an IP packet by adding a header that includes (among other data) the destination IP address. Even though every packet has the same destination address, they can be routed on different paths through the network. When the client program on the destination computer receives them, the TCP layer (Transport Layer) reassembles the individual segments and ensures they are correctly ordered and error free as it streams them to an application.

[edit]TCP segment structure

Transmission Control Protocol accepts data from a data stream, segments it into chunks, and adds a TCP header creating a TCP segment. The TCP segment is then encapsulated into an Internet Protocol (IP) datagram. A TCP segment is "the packet of information that TCP uses to exchange data with its peers." [3]

The term TCP packet, though sometimes informally used, is not in line with current terminology, where segment refers to the TCP PDU (Protocol Data Unit), datagram[4] to the IP PDU and frameto the data link layer PDU:

Processes transmit data by calling on the TCP and passing buffers of data as arguments. The TCP packages the data from these buffers into segments and calls on the internet module [e.g. IP] to transmit each segment to the destination TCP.[5]

A TCP segment consists of a segment header and a data section. The TCP header contains 10 mandatory fields, and an optional extension field (Options, orange background in table).

The data section follows the header. Its contents are the payload data carried for the application. The length of the data section is not specified in the TCP segment header. It can be calculated by subtracting the combined length of the TCP header and the encapsulating IP header from the total IP datagram length (specified in the IP header).

 

  • Source port (16 bits) – identifies the sending port
  • Destination port (16 bits) – identifies the receiving port
  • Sequence number (32 bits) – has a dual role:
  • If the SYN flag is set (1), then this is the initial sequence number. The sequence number of the actual first data byte and the acknowledged number in the corresponding ACK are then this sequence number plus 1.
  • If the SYN flag is clear (0), then this is the accumulated sequence number of the first data byte of this packet for the current session.
  • Acknowledgment number (32 bits) – if the ACK flag is set then the value of this field is the next sequence number that the receiver is expecting. This acknowledges receipt of all prior bytes (if any). The first ACK sent by each end acknowledges the other end's initial sequence number itself, but no data.
  • Data offset (4 bits) – specifies the size of the TCP header in 32-bit words. The minimum size header is 5 words and the maximum is 15 words thus giving the minimum size of 20 bytes and maximum of 60 bytes, allowing for up to 40 bytes of options in the header. This field gets its name from the fact that it is also the offset from the start of the TCP segment to the actual data.
  • Reserved (3 bits) – for future use and should be set to zero
  • Flags (9 bits) (aka Control bits) – contains 9 1-bit flags
  • NS (1 bit) – ECN-nonce concealment protection (added to header by RFC 3540).
  • CWR (1 bit) – Congestion Window Reduced (CWR) flag is set by the sending host to indicate that it received a TCP segment with the ECE flag set and had responded in congestion control mechanism (added to header by RFC 3168).
  • ECE (1 bit) – ECN-Echo indicates
  • If the SYN flag is set (1), that the TCP peer is ECN capable.
  • If the SYN flag is clear (0), that a packet with Congestion Experienced flag in IP header set is received during normal transmission (added to header by RFC 3168).
  • URG (1 bit) – indicates that the Urgent pointer field is significant
  • ACK (1 bit) – indicates that the Acknowledgment field is significant. All packets after the initial SYN packet sent by the client should have this flag set.
  • PSH (1 bit) – Push function. Asks to push the buffered data to the receiving application.
  • RST (1 bit) – Reset the connection
  • SYN (1 bit) – Synchronize sequence numbers. Only the first packet sent from each end should have this flag set. Some other flags change meaning based on this flag, and some are only valid for when it is set, and others when it is clear.
  • FIN (1 bit) – No more data from sender
  • Window size (16 bits) – the size of the receive window, which specifies the number of bytes (beyond the sequence number in the acknowledgment field) that the sender of this segment is currently willing to receive (see Flow control and Window Scaling)
  • Checksum (16 bits) – The 16-bit checksum field is used for error-checking of the header and data
  • Urgent pointer (16 bits) – if the URG flag is set, then this 16-bit field is an offset from the sequence number indicating the last urgent data byte
  • Options (Variable 0–320 bits, divisible by 32) – The length of this field is determined by the data offset field. Options have up to three fields: Option-Kind (1 byte), Option-Length (1 byte), Option-Data (variable). The Option-Kind field indicates the type of option, and is the only field that is not optional. Depending on what kind of option we are dealing with, the next two fields may be set: the Option-Length field indicates the total length of the option, and the Option-Data field contains the value of the option, if applicable. For example, an Option-Kind byte of 0x01 indicates that this is a No-Op option used only for padding, and does not have an Option-Length or Option-Data byte following it. An Option-Kind byte of 0 is the End Of Options option, and is also only one byte. An Option-Kind byte of 0x02 indicates that this is the Maximum Segment Size option, and will be followed by a byte specifying the length of the MSS field (should be 0x04). Note that this length is the total length of the given options field, including Option-Kind and Option-Length bytes. So while the MSS value is typically expressed in two bytes, the length of the field will be 4 bytes (+2 bytes of kind and length). In short, an MSS option field with a value of 0x05B4 will show up as (0x02 0x04 0x05B4) in the TCP options section.
  • Padding – The TCP header padding is used to ensure that the TCP header ends and data begins on a 32 bit boundary. The padding is composed of zeros.

question is focus on file transfer , so the answer is FTP

Basically FTP is part of the TCP/IP protocol suite. TCP/IP is the basic protocol that runs the whole Internet. Whether you are checking your email, visiting a web site or downloading files, you are using TCP/IP. There are a number of smaller protocols that run under the layer of TCP/IP, such as email, HTTP, and Telnet. FTP is one of these. File Transfer Protocol (FTP) is an application-layer protocol that enables files on one host, Computer B, to be copied to another host, Computer A. TCP provides a communication service at an intermediate level between an application program and the Internet Protocol (IP). FTP runs over the Transmission Control Protocol (TCP). FTP would not work without TCP/ IP over the Internet. The actual protocol for transmission is TCP/IP. I

I think the answer is D "TCP/IP"

No sir, D is not correct, In website or internet process of Upload and download files so use FTP ,

So FTP is correct Ans...

Basically FTP is part of the TCP/IP protocol suite. TCP/IP is the basic protocol that runs the whole Internet. Whether you are checking your email, visiting a web site or downloading files, you are using TCP/IP. There are a number of smaller protocols that run under the layer of TCP/IP, such as email, HTTP, and Telnet. FTP is one of these. File Transfer Protocol (FTP) is an application-layer protocol that enables files on one host, Computer B, to be copied to another host, Computer A. TCP provides a communication service at an intermediate level between an application program and the Internet Protocol (IP). FTP runs over the Transmission Control Protocol (TCP). FTP would not work without TCP/ IP over the Internet. The actual protocol for transmission is TCP/IP. I

I think the answer is D "TCP/IP"

thanks sir 

No sir, D is not correct, In website or internet process of Upload and download files so use FTP ,

So FTP is correct Ans...

RSS

© 2024   Created by Dr. Badan Barman.   Powered by

Badges  |  Report an Issue  |  Terms of Service

Koha Workshop