• 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
  • Bugs
FMSLogo

NETACCEPTON servers can't accept more than one connection

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 ▾ ▴
  • Create Ticket
  • View Stats

Group

  • v_6.06x
  • v_6.07.X
  • v_6.08.X
  • v_6.10.X
  • v_6.11.X
  • v_6.13.X
  • v_6.22.X
  • v_6.25.X
  • v_6.26.X
  • v_6.27.X
  • v_6.28.X
  • v_6.29.X

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#182 NETACCEPTON servers can't accept more than one connection

v_6.06x
closed-fixed
David Costanzo
Language Engine (245)
2
2020-12-08
2006-07-16
David Costanzo
No

Servers created with NETACCEPTON cannot accept more
than one connection. When the a client attempts the
second connection, a message box that looks like this
is displayed.

I understand that FMSLogo does not support multiple
concurrent connections, but I think it should accept
connections in serial.

+-----------------------+
| accept(receivesock) X|
|-----------------------|
| |
| Invalid Argument |
| |
| ------ |
| | OK | |
| ------ |
| |
+-----------------------+

The problem seems to be that FMSLogo overwrites the
listen socket with the accept socket, so it can only
accept once.

How Reproducible:
Every Time

Steps to Reproduce
Run NETWORKTEST.SERVER.TWOCONNECTIONS from network.lgo

What Happens:
The test case displays the message described above,
then fails, saying it only received [[hello]], when
[[hello][hello]] was expected (the second "hello")
comes from the second connection, which never succeeded.

Expected Result:
The test passes.

Discussion

  • David Costanzo

    David Costanzo - 2020-12-08
    • status: open --> closed-fixed
     
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
  • David Costanzo

    David Costanzo - 2020-12-08

    This is fixed by [r5498]. The fix will be available in FMSLogo 8.0.0.

    Now that this has been fixed, I have started work on a proof-of-concept HTTP server implemented in FMSLogo (perhaps to be used as simple a REST microservice). I had expected that multiple connections would seamlessly, but since FMSLogo's network API requires that there be no more than one connection at a time for the server (NETACCEPTON) socket, multiple concurrent connections can cause problems in ways that I haven't yet pinned down. However, because this fix enables NETACCEPTOFF to close the listen socket, it's always possible to run NETACCEPTOFF followed by NETACCEPTON on the same port to receive another connection.

     

    Related

    Commit: [r5498]

    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

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