Gisle Vanem

Results 232 comments of Gisle Vanem

> Question is, do we need exact UNIX/UTC time anywhere? For basic timeouts you can just start counting from 0 at program > startup, and avoid all the slow time.h...

> But maybe there is some reason why you hadn't done that? Perhaps. But like I wrote earlier, there is some years since I wrote that. But I remember experimenting...

> And for the more common case (TCP/UDP), there is always a 1:1 mapping from native to BSD, right? AFAICR, for TCP yes. For UDP, I'm not so sure.

> Is it just to poll for ARP lookups? It does a lot of things. First, when `s->state == tcp_StateRESOLVE`, the socket is in a pseudo state before `SYN` is...

It's been years since I've used DHCP. So this could be improved. But do you get an IP-address eventually?

I did a fix for this in: https://github.com/gvanem/Watt-32/commit/557412c9bc6ed857a779a0dda04530f1c3371a27

> UDP DGRAM fragments are sent as EWOULDBLOCK. Not sure what this means. A Jumbo frame-size would depend on the Ethernet card. There is no way AFAICS to obtain the...

> I think this is a decent compromise for the scope of the project. Jumbo-frames can only work reliably on a LAN. So the code will need to check the...

I've studied this a bit. It's impossible with WinPcap or any PacketDriver to send any frames > 1514 bytes. And if could be possible, all references to the constant `ETH_MAX`...

> Hi there - how do I compile on linux? I've no idea (I've not used Linux in many years). The `src/configur.sh` script was made by [Ozkan Sezer](https://github.com/sezero). > it...