• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • FMSLogo
  • Code
FMSLogo

FMSLogo Code

A Logo programming environment for Microsoft Windows

Brought to you by: david_costanzo
  • Summary
  • Files
  • Reviews
  • Support
  • Tickets ▾
    • Feature Requests
    • Bugs
    • Support Requests
  • Discussion
  • Code
Menu ▾ ▴
 
  • Browse Commits
  • Browse Files

Code Commit Log


Commit Date  
[r5503] by david_costanzo

Fix a problem where if a second connection was created to a NETACCEPTON server while it was already connected, then winsock would not raise any more FD_ACCEPT events and the server wouldn't be able to process any further connections.

The fix is to a set flag when NETACCEPTON is too busy to accept a second connection, then to later execute accept() once the first connection is closed.

2020-12-09 04:00:53 Tree
[r5502] by david_costanzo

Don't immediately return from AsyncSelect callback on error.

The important thing is to process the FD_CLOSE event even when it comes from a socket reset. Otherwise a NETACCEPTON server can get into a bad state where it no longer accepts new incoming connections.

2020-12-09 03:27:11 Tree
[r5501] by david_costanzo

Remove some "if (IsEnabled())" calls before calling Disable().
It is safe to call Disable() even if the connection is not enabled.

2020-12-08 20:23:53 Tree
[r5500] by david_costanzo

Add a comment to explain why the call to connect() is expected to fail (with WSAEWOULDBLOCK)

2020-12-08 20:12:22 Tree
[r5499] by david_costanzo

Don't call connect() or set up the socket if WSAAsyncSelect() fails

2020-12-08 19:52:49 Tree
[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
[r5497] by david_costanzo

Retroactively tag the source code used to generate the 1.10 release.

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
WM_NETWORK_CONNECTSENDACK -> WM_NETWORK_CLIENTSOCKETEVENT
WM_NETWORK_LISTENRECEIVEACK -> WM_NETWORK_SERVERSOCKETEVENT
OnConnectSendAck -> OnClientSocketEvent
OnListenReceiveAck -> OnServerSocketEvent

2020-12-08 00:35:10 Tree
Older >
SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
mdb logo