Learning Python Network Programming
Network Programming and Python Most operating systems contain a copy of this list of services and their assigned port numbers. O ...
Chapter 1 TCP The Transmission Control Protocol is documented as RFC 761. As opposed to UDP, TCP is a connection based protocol. ...
Network Programming and Python TCP also includes algorithms which ensure that traffic is not sent too quickly for the receiving ...
Chapter 1 Protocols may even become their own layers, where an application protocol is built on top of another application proto ...
Network Programming and Python Yes, this means that the first piece of Python that we're going to write is going to generate an ...
Chapter 1 From the preceding program, it's clear that the smtplib module calls into the socket module. The application layer pro ...
Network Programming and Python A look through the Library Reference at https://docs.python.org doesn't seem to show anything dir ...
Chapter 1 except (IndexError, ValueError): print('Must supply an RFC number as first argument') sys.exit(2) template = 'http://w ...
Network Programming and Python print('Must supply an RFC number as first argument') sys.exit(2) host = 'www.ietf.org' port = 80 ...
Chapter 1 The request string that we create to send to the server is also much more complicated than the URL that we used before ...
Network Programming and Python The 200 value in the first line of the aforementioned headers is an HTTP status code, which tells ...
Chapter 1 Firewalls can also block outbound traffic. This may be done to stop malicious software that finds its way onto interna ...
Network Programming and Python There are several benefits of using NAT. The internal network devices are shielded from malicious ...
Chapter 1 The new format IP addresses are written differently, they look like this: 2001:0db8:85a3:0000:0000:b81a:63d6:135b Note ...
Network Programming and Python Summary In the first part of this chapter, we looked at the essentials of networking with TCP/IP. ...
HTTP and Working with the Web The Hypertext Transfer Protocol (HTTP) is probably the most widely-used application layer protocol ...
HTTP and Working with the Web The third-party Requests package is a very popular alternative to urllib. It has an elegant interf ...
Chapter 2 Requests with urllib We have already seen some examples of HTTP exchanges while discussing the RFC downloaders in Chap ...
HTTP and Working with the Web The read() method returns the specified number of bytes from the data. Here it's the first 50 byte ...
Chapter 2 There are a number of codes, and each one conveys a different meaning. According to their first digit, status codes ar ...
«
1
2
3
4
5
6
7
8
9
10
»
Free download pdf