Opened 15 years ago
Closed 14 years ago
#5240 closed enhancement (fixed)
[PATCH] Add TCP support
Reported by: | andreasf | Owned by: | andreasf |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/Boot Loader | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | #5234, #6061 | Blocking: | #5319 |
Platform: | All |
Description
To date, the boot net stack only has support for UDP and therefore uses a home-grown protocol for remote disk access.
The attached patch adds initial support for TCP sockets, allowing to connect to and disconnect from a remote server.
Other parts like receiving and sending data are still WIP.
Attachments (5)
Change History (14)
by , 15 years ago
Attachment: | tcp-draft-01.diff added |
---|
comment:1 by , 15 years ago
To test the above, compile and run the test server:
gmcs tcpserver.cs mono tcpserver.exe
Change the hexadecimal IP address in the test code to match your server and boot boot_loader_openfirmware
via a TFTP server.
I tested it between an OpenSolaris/amd64 host and my PowerMac G3 b&w.
comment:2 by , 15 years ago
Reads spanning multiple packets are now fixed. Not having heard any comments, I hope it is approaching mergeable state.
comment:3 by , 15 years ago
Blocking: | 5319 added |
---|
comment:4 by , 15 years ago
Blocked By: | 6061 added |
---|
comment:5 by , 15 years ago
patch: | 0 → 1 |
---|
comment:6 by , 15 years ago
Summary: | [RFC] Add TCP support → [PATCH] Add TCP support |
---|
I've rebased my branch that contained some improvements on the last draft, and modified the random number generator according to Endre's suggestion and did some Coding Style fixes. I believe it could be merged now.
comment:7 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:8 by , 14 years ago
patch: | 1 → 0 |
---|
comment:9 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
draft patch