071a692f11
Check network device MTUs and split packets accordingly depending on capacity and overhead.
...
Tally of packet overhead:
- 16 bytes packet ID
- 8 bytes type
- N bytes dest
- N bytes source
- 8 bytes port
- N bytes data
- 6*2 bytes network card overhead
2024-03-16 12:30:25 +10:00
0637da63b4
made minitel.open time out properly, for #30
2020-04-11 12:28:26 +10:00
67c5790bd4
make minitel.rsend return the packet ID if not blocking
2019-04-18 13:26:30 +10:00
40c6f47f4d
make it possible to rsend a packet and specify the packet ID
2019-04-18 13:24:35 +10:00
c01a9fdadd
improved socket:read()
2018-08-16 20:54:23 +10:00
1a9ed7562a
added a wrapper for net.lua so existing programs will work for the time being
2018-08-11 13:49:49 +10:00
a3cb100a5c
renamed net.lua to minitel.lua
2018-08-11 13:49:11 +10:00
a85e2b01c2
added an option to not block in net.rsend
2018-07-25 12:29:25 +10:00
d726ddbfb6
more timeout-related bugfixes
2018-07-02 01:16:07 +10:00
ad3c6d8433
made timeouts shorter and made stuff fail when it times out, resolves #3 hopefully
2018-06-17 23:00:19 +10:00
e891f0d220
made listen and flisten care what is sent to them
2018-02-17 18:31:50 +11:00
22bed6dd9c
implemented socket closing
2018-02-17 15:20:09 +11:00
688f8e0ff7
implemented the beginning of layer 4 and 4 support
2018-02-17 14:56:06 +11:00