On Sat, 2008-06-21 at 01:35 +0100, Shawn Tan wrote: > On Saturday 21 June 2008 01:13:59 Olin Lathrop wrote: > > Peter wrote: > > > True, but it is always easier to use a popular protocol. In HTTP your > > > request would be encoded as a single line, like: > > > > > > GET /%FC\r\n > > > > Certainly not always easier. It might or might not be easier in this case. > > If I remember right, there is some handshaking when a HTTP connection is > > first started. There is nogitiation of the HTTP version or something back > > and forth. It's not all that easy, especially if you haven't done it > > before. > > It's actually: > GET / HTTP/1.0 > > which gives you the command (GET), url (/) and version (HTTP/1.0). > There is no back-and-forth for handshaking for plain old HTTP 1.0. It's a > fairly simple protocol. > > -- > with metta, > Shawn Tan Actually, the negotiation is in the TCP layer. UDP is what you want for simple packets with no handshaking, or maybe straight IP for a bunch of bits. Moses -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist