seqs
seqs copied to clipboard
seqs: the hottest, most idiomatic userspace TCP/IP implementation on the internet. lwip in go basically
When requesting a web page from the cyw43439 based http-server example (using _wget_, _curl_, or a browser), I am observing a wireshark log similar to the following excerpt: ``` No....
Running examples/tcpserver/main.go in soypat/cyw43439, I get a Wifi connection to my test router TP-Link AC1750, but no DHCP IP is given. ``` sfeldma@nuc:~/work/cyw43439$ tinygo flash -target=pico -opt=1 -stack-size=32kb -size=short -monitor...
I tried both the reference implementation from the book [Automate Your Home Using Go](https://pragprog.com/titles/gohome/automate-your-home-using-go/) and your `example/http-server` code. It works until the first request appears. (Sometimes `!dhcpclient.IsDone()` although the DHCP...
## Seqs today 1. `eth` package which represents [packet headers as structs with fields.](https://github.com/soypat/seqs/blob/51b1d985eab4350749cd04d1b6544f2f06f6304d/eth/headers.go#L45). 2. Above implies that when packets are parsed the[ header bytes are copied onto the stack](https://github.com/soypat/seqs/blob/51b1d985eab4350749cd04d1b6544f2f06f6304d/stacks/portstack.go#L151-L152)...
* Added UDPConn, commented some areas for easier understanding, suggested a name change or two * some tidying of udpConn.go * Changes as requested (whitespace, UDP close method, extract anonymous...
Must add a reliable DHCP Server implementation. Below is work so far not present on any branch. ```go package stacks import ( "encoding/binary" "errors" "io" "net/netip" "time" "github.com/soypat/seqs/eth" "github.com/soypat/seqs/eth/dhcp" )...
Brainstorm:- func (ps *PortStack) handleEth(dst []byte) (n int, err error) { //might be better named as getNextOutboundPacket or fillNextOutboundPacket
Made some significant progress:- Sent a message to and received a response from a 'server' on the network via UDP 
I hope this can become something useful to others - I have just spent a good few days getting a (fairly) good understanding of the structure - I have pointed...
Implements a Transmission queue for TCP.