Code Monkey home page Code Monkey logo

Comments (4)

anissen avatar anissen commented on September 28, 2024

Thanks!

Still not running flawlessly though:

$ haxe TestServerNeko.hxml
Server.hx:29: server 127.0.0.1 / 32000
Connection.hx:19: Anette : New Connection
TestServer.hx:40: CONNNECTION
TestServer.hx:31: onData 42
TestServer.hx:35: onData Hello Server
Called from sys.net.Socket::$statics line 1
Called from TestServer::main line 56
Called from TestServer::$init line 1
Called from a C function
Called from TestServer::new line 19
Called from TestServer::loop line 25
Called from anette.Server::pump line 67
Called from anette.Server::disconnectSocket line 89
Called from sys.net.Socket::shutdown line 164
Uncaught exception - std@socket_shutdown
Error: Command failed with error 1

Client:

$ haxe TestClientNeko.hxml
Connection.hx:19: Anette : New Connection
TestClient.hx:50: CONNNECTION
TestClient.hx:41: onData 42
TestClient.hx:45: onData Hello Client
TestClient.hx:61: DISCONNECTION

Also, the following build scripts for Server fail on Mac:

  • TestServerCpp.hxml
  • TestServerJava.hxml
  • testServerNode.hxml
  • testServerNodeWebsocket.hxml

from anette.

Dvergar avatar Dvergar commented on September 28, 2024

Wow!

Thanks for the feedback, proper tests are on my "todo" list but that's quite a lot of fails there.
I'm on windows myself, are you using the haxelib version or the github version? Because neko target is working fine here.

from anette.

anissen avatar anissen commented on September 28, 2024

I'm using the latest source from github and have set the anette lib in haxelib through haxelib dev anette .. I'm using Haxe 3.1.3 and Neko 2.0.0.

By the way, the only Client build script that works is for Neko as well. (And JavaScript, but that fails on execution with ReferenceError: WebSocket is not defined).

from anette.

Dvergar avatar Dvergar commented on September 28, 2024

Your Neko issue seems to be fixed with the commit above.

I can investigate your other TestServerX issues if you create another dedicated ticket.

from anette.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.