• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Examples of pre-HTTP (i.e. session-based) protocol
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Examples of pre-HTTP (i.e. session-based) protocol


  • Subject: Examples of pre-HTTP (i.e. session-based) protocol
  • From: Daryle Walker <email@hidden>
  • Date: Mon, 30 Jun 2014 04:45:57 -0400

AIUI, the URLConnection family of classes support the following schemes:

* file
* data
* http(s)
* ftp

The first one deals with locally-available data. The second is synthesized local data. The third the the most common download protocol today. The fourth is a classic protocol.

HTTP classically has been a one-and-done protocol; each resource requires a separate contact-and-response loop. I think that the 1.1 version supports persistent connections, to download a bunch of resources from a single server in a bunch. As I said, HTTP is one of the most common protocols, and the example code I’ve seen of extending URLConnection has featured custom HTTP variants.

I want to know how to make a subclass that isn’t based on HTTP. The protocol is session-based. So part of what I want to know if Apple’s FTP implementation does brand new connections for every resource, or does it retain connections (for a while) in case a new resource request needs to go to an already-contacted server? Although HTTP is a very common protocol, it’s in a minority (AFAIK) in that it’s one-and-done; most protocols that I know of are session-based.  (The only one-and-done ones I know of are HTTP, Finger, and Gopher.)

— 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Examples of pre-HTTP (i.e. session-based) protocol
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: DHCP client list in Airport Utility?
  • Next by Date: Re: Examples of pre-HTTP (i.e. session-based) protocol
  • Previous by thread: Re: DHCP client list in Airport Utility?
  • Next by thread: Re: Examples of pre-HTTP (i.e. session-based) protocol
  • Index(es):
    • Date
    • Thread