objectionary / eo-net

Socket Object for EO Programming Language
MIT License
8 stars 3 forks source link

Server from README doesn't work #22

Closed volodya-lombrozo closed 1 year ago

volodya-lombrozo commented 1 year ago

I've tried to run server using the example from README:

# Create TCP server and echo

+alias org.eolang.net.socket

seq > @
  write.
    as-output. > output
      accept. > conn
        listen.
          socket
            "localhost"
            8080
    conn.as-input.read
  output.flush

I get the next exception:

Caused by: java.io.FileNotFoundException: https://raw.githubusercontent.com/objectionary/home/67da11ac07940770acdea1d86b862755a6af3ca5/objects/org/eolang/net/socket.eo

Full exception log: server.log

volodya-lombrozo commented 1 year ago

The same exception I get for client code (from README):

+alias org.eolang.net.socket

seq > @
  as-output. > output
    connect.
      socket
        "localhost"
        8080
  output.write 88
  output.flush
kerelape commented 1 year ago

@yegor256 looks like an issue related to eoc (eo-net seems to be not "registered")