Transcription of Introduction to Sockets Programming in C using TCP/IP
{{id}} {{{paragraph}}}
Introduction to Sockets Programming in C using TCP/IPProfessor: Panagiota FatourouTA: Eleftherios KosmasCSD - May 2012 IntroductionCS556 - Distributed SystemsTutorial by Eleftherios Kosmas 2 Computer Network hosts, routers, communication channels Hostsrun applications Routersforward information Packets: sequence of bytes contain control information destination host Protocolis an agreement meaning of packets structure and size of Hypertext Transfer Protocol (HTTP)HostRouterCommunication channelProtocol Families - TCP/IPCS556 - Distributed SystemsTutorial by Eleftherios Kosmas 3 Several protocols for different problems)Protocol Suites or Protocol Families: TCP/IP TCP/IP provides end-to-endconnectivity specifying how data should be formatted, addressed, transmitted, routed, and received at the destination can be used in the internet and in stand-alone private networks it is organized into layersTCP/IP* image is taken from *Communication ChannelsNetwork Layer IPTransport Layer TCP or UDPFTP, SMTP.
TCP vs UDP TCP is used for services with a large data capacity, and a persistent connection UDP is more commonly used for quick lookups, and single use query-reply actions. Some common examples of TCP and UDP with their default ports: DNS lookup UDP 53 FTP TCP 21 HTTP TCP 80 POP3 TCP 110 Telnet TCP 23 CS556 - Distributed Systems Tutorial by …
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}