Giter VIP home page Giter VIP logo

Comments (4)

aoh avatar aoh commented on August 22, 2024

That command would write the output to 10.1.1.2 file. TCP output is used when the parameter is of the form IP:port. Did you forget the port from the bug or while running it?

If that wasn't the problem, send the output of strace radamsa -o 10.1.1.2:80 -n 1 and check if on your Ubuntu machine e.g. nc -l 31337 gets the output of echo foo | radamsa -o 127.0.0.1:31337.

from radamsa.

cweb avatar cweb commented on August 22, 2024

Bah, I created the issue incorrectly, I was of course using the 10.1.1.2:80 syntax, and was getting valid TCP connections as I stated. Difference was on Mac the payload was never sent after the TCP handshake. Things work fine and as expected on Ubuntu.

I had previously done the verification test you suggested with netcat. I did it on both Ubuntu and Mac. The problem is with Mac, not Ubuntu. Mac makes the connection but doesn't send any data.

from radamsa.

aoh avatar aoh commented on August 22, 2024

Ok. So I assumed, but wanted to rule out obvious issues at first. Dang, I can't test on Mac, so it may be a bit difficult to figure out what's going on.

Can you post the output of $ owl-lisp-0.1.12/bin/vm owl-lisp/fasl/init.fasl -e '(let ((cli (open-connection (vector 10 1 1 2) 80))) (print "fd is " cli) (print "output: " (print-to cli "GET / HTTP/1.1\r\n\r\n")) (print "closing: " (close-port cli)))' after building radamsa on Mac? Is there no transmission also in this case?

Does radamsa$ echo foo | owl-lisp/bin/vm owl-lisp/fasl/init.fasl --run rad/main.scm -o 10.1.1.2:80 report an error anywhere?

Can you send the output of dtruss radamsa -o 10.1.1.2:80?

Does git clone https://github.com/aoh/owl-lisp.git && cd owl-lisp && make test succed on your Mac?

My first guess would be, that owl/radamsa thinks the channel is not ready for transmission due to some unexpected Mac-specific return value from IO primitives.

from radamsa.

aoh avatar aoh commented on August 22, 2024

Wasn't able to reproduce. Closing for now. Open if there is more data or it keeps happening.

from radamsa.

Related Issues (20)

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.