Shop OBEX P1 Docs P2 Docs Learn Events
Spinneret Simple TCP object — Parallax Forums

Spinneret Simple TCP object

BeanBean Posts: 8,129
edited 2011-09-19 09:51 in Accessories
I've been working on a spinneret simple TCP object for awhile now.

Take a look and let me know if you have any suggestions.

Here is the entire Server Demo program...
CON
  _clkmode = xtal1 + pll16x
  _xinfreq = 5_000_000

OBJ
  TCP : "Spinneret_Simple_TCP"
  
PUB Main
  TCP.Setup($00,$08,$DC,$16,$EF,$5E,   10,160,32,250,   10,160,32,1) ' MAC, IP, Gateway
  repeat
    TCP.ListenWait(0, 23) ' Open socket 0 with Telnet port (23) and waits for incoming connection
    TCP.SendStr(0, String("Spinneret Simple TCP Server Demo", 13)) ' Send message to remote computer
    TCP.Close(0) ' Close the socket


Bean

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2011-09-09 20:49
    Bean,

    Your demo is calling for Brilldea_W5100_Indirect_Driver_Ver006.spin and you only supplied version 001

    disregard, I had to do some digging to find the file
  • BeanBean Posts: 8,129
    edited 2011-09-10 05:51
    Beau, Oops. Sorry about that...I posted the wrong file.
    It is fixed now.

    Bean
  • Mike GMike G Posts: 2,702
    edited 2011-09-10 07:07
    Nice work Bean. Very concise and easy to follow.
  • D.PD.P Posts: 790
    edited 2011-09-11 11:56
    Thanks for the nice wrapper about the indirect driver. Any progress on making the SPI driver as robust? I'm sure I'm not alone in the idea of using a lower speed TCP/UDP subsystem that makes available many more pins for GPIO.

    Again thanks for the nice objects.
  • BeanBean Posts: 8,129
    edited 2011-09-13 07:55
    I have updated the Simple TCP libary and demos on the first post.
    Beau is working on something cool using this, but I don't want to steal his thunder.

    Bean
  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2011-09-19 09:51
    Here is a link to what Bean was referring to earlier that uses his Spinneret_Simple_TCP package ...

    "SpinMail" - It's like Sendmail for your Spinneret
Sign In or Register to comment.