| Commit | Date | |
|---|---|---|
|
[r5498]
by
david_costanzo
Fix Bug #182; NETACCEPTON can now accept multiple connections (in serial) The heart of the fix is to keep two distinct sockets for server connections, the listen socket and the connection (accept) socket. Before, the code only kept one socket and the listen socket was overwritten by the connection socket when accept() was called. By keeping track of the two sockets separately, NETACCEPTOFF can reliably cancel the listen(), which makes it possible to re-listen on the same port later. An ancilliary change is to close the connection socket when the client initiates a half-close. This was required to not leak the connection socket by overwriting it when a new accept() call was made. The logic still only supports one concurrent connection to the server, so multiple connections must be made in serial. |
2020-12-08 19:27:16 | Tree |
| 2020-12-08 04:47:56 | Tree | |
|
[r5496]
by
david_costanzo
Update the ZIP-building target to be compatible with Subversion instead of CVS. There are no longer any CSV directories to avoid, but the Makefile also can no longer assume the directory is named "extras". |
2020-12-08 04:25:20 | Tree |
|
[r5495]
by
david_costanzo
Initial commit of a proof-of-concept HTTP Server FMSLogo 8.0.0 includes some bug fixes to the networking API which makes it just barely possible to implement a compatible but non-conforming HTTP server (as long as clients don't try to create two concurrent connections). An HTTP server written in FMSLogo may be interesting to others, since it provides the ability to interoperate with the modern computing world. |
2020-12-08 04:10:18 | Tree |
|
[r5494]
by
david_costanzo
Refactoring: Rename the callback/message for WSAAsyncSelect to improve clarity |
2020-12-08 00:35:10 | Tree |
|
[r5493]
by
david_costanzo
Cleanup: Remove unused symbol WM_MYSCROLLBARCALLBACK |
2020-12-08 00:14:02 | Tree |
|
[r5492]
by
david_costanzo
Refactoring: Rename DNS callback for clarity: |
2020-12-08 00:05:59 | Tree |
|
[r5491]
by
david_costanzo
Fix a test bug that prevented the network tests from running on windows 10 |
2020-12-07 23:18:59 | Tree |
| 2020-12-07 21:50:59 | Tree | |
|
[r5489]
by
david_costanzo
Refactor networking recv to remove a copy The main part of this change is to read data from the network directly into the "carry over buffer" instead of reading it onto a stack variable and copying it to that buffer. It also includes a change that makes partial frames available to FMSLogo programs sooner. This makes it easier to implement an HTTP server, since HTTP clients typically don't send requests with a NUL framing byte nor do they close the socket until after they hear back from the server. Finally, it includes a comment as to why partial frames are make available so that I don't unwittingly remove this functionality in the future (as I came close to doing in this change). |
2020-12-07 20:47:28 | Tree |