Giter Club home page Giter Club logo

Comments (6)

keithw avatar keithw commented on August 22, 2024

My guess is that you have IPv6 turned off.

from sourdough.

keithw avatar keithw commented on August 22, 2024

I'm sorry -- I'm not sure I follow here. sourdough is a small starter library in my personal GitHub that I sometimes use to teach networking at Stanford University. You are welcome to use it but I have no idea what kind of computer or VM you are using it on and I can't really provide extended technical support for this. If you are worried about the IPv6, you can safely change "AF_INET6" to "AF_INET" in socket.cc.

from sourdough.

miqianmimi avatar miqianmimi commented on August 22, 2024

thank you

from sourdough.

miqianmimi avatar miqianmimi commented on August 22, 2024

i got it

from sourdough.

miqianmimi avatar miqianmimi commented on August 22, 2024

when i change it to "AF-INET"
I still got the problem

terminate called after throwing an instance of 'unix_error'
  what():  bind: Address family not supported by protocol
terminate called after throwing an instance of 'unix_error'
  what():  connect: Address family not supported by protocol
Died on std::runtime_error: `bash -c ./sender $MAHIMAHI_BASE 9090': process died on signal 6
Died on std::runtime_error: `packetshell': process exited with failure status 1
Died on std::runtime_error: `mm-link /usr/bin/../share/mahimahi/traces/Verizon-LTE-short.down /usr/bin/../share/mahimahi/traces/Verizon-LTE-short.up --meter-uplink --meter-uplink-delay --once --uplink-log=/tmp/contest_uplink_log -- bash -c ./sender $MAHIMAHI_BASE 9090': process exited with failure status 1
Died on std::runtime_error: `packetshell': process exited with failure status 1

Use of uninitialized value $arrival_sum in division (/) at /usr/bin/mm-throughput-graph line 149, <> line 231.
Use of uninitialized value $departure_sum in division (/) at /usr/bin/mm-throughput-graph line 150, <> line 231.
Must have at least one departure event at /usr/bin/mm-throughput-graph line 153, <> line 231.
mm-throughput-graph exited with error. NOT uploading at ./run-contest line 59.

and i already find the first line is due to the code in "receiver.cc":

socket.bind( Address("::0", argv[ 1 ] ) );

do you know what to do with it . according to the IPV4

from sourdough.

miqianmimi avatar miqianmimi commented on August 22, 2024

just change the "address.cc" "AF_INET6" to "AF_INET" IT'S OK

from sourdough.

Related Issues (1)

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.