Shop OBEX P1 Docs P2 Docs Learn Events
Ethernet with TCP/IP will make prop bleeding edge — Parallax Forums

Ethernet with TCP/IP will make prop bleeding edge

QuattroRS4QuattroRS4 Posts: 916
edited 2007-01-25 19:45 in Propeller 1
Aside from UDP connections - is there somebody working on prop ethernet connectivity with TCP/IP capability?

Comments

  • Harrison.Harrison. Posts: 484
    edited 2007-01-25 17:56
    I was working on it over the winter break. I implemented a simple single packet webserver (capable of sending up to ~1.4kbyte files). I was able to add in http authentication and i/o port control before school started up again.

    I hope to eventually release the source after I make it more modular (I hope to add in something like php's fsockopen so you can implement whatever protocols you want). It currently uses 1 cog dedicated to handling incoming packets and sending replies. The current unoptimized spin code takes about 45ms to respond to packets.

    The link to the thread is http://forums.parallax.com/showthread.php?p=622051 . The version posted in that thread only supports UDP, Ping, and ARP.

    Current supported protocols and functions:
    - Single Packet HTTP Server
    - HTTP Authentication (built in base64 decode of user/pass auth header)
    - ICMP Ping Replies
    - UDP Echo
    - ARP Reply / Request

    Harrison

    Post Edited (Harrison.) : 1/25/2007 6:02:15 PM GMT
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2007-01-25 19:45
    Harrison,
    Nice one - no point re-inventing the wheel from my part so.keep me posted on progress.
Sign In or Register to comment.