> Hi Jon,
>> >>Cloud9 IDE Support, I have to set the IP to which the socket (port
>> >>8080) should bind, to 127.6.26.129. How do I set this IP in
>> At the moment, modifying "src64/net.l" sounds like the easiest way
>> to get a web app running on Cloud9. However, I'm not familiar with
>> the (assembly) language used in that file. Do you have any idea of
>> how a tweek to that file would look?
> Hmm, just an _idea_. I'm absolutely unsure whether I'm on the right
> track with that. No guarantee! :)
> My guess is:
> 1. Put the line
> : MyIpAddr asciz "127.6.26.129"
> somehere into "src64/net.l", e.g. before or after 'doPort'.
> 2. Change line 36 of "src64/net.l"
> mset (Addr SIN6_ADDR) 16 # "::" (16 null-bytes)
> cc inet_pton(AF_INET6 MyIpAddr &(Addr SIN6_ADDR))
> Does this work?
> ?? Alex
After doing #1, lines 4-7 look like this:
# (port ['T] 'cnt|(cnt . cnt) ['var]) -> cnt
(code 'doPort 2)
: MyIpAddr asciz "127.6.26.129" # may work on Cloud9
.. and then I did change #2. Then I went into src63 and did a "make
clean" and then a "make", and then "cd ..". However, when I tried to start
my web.l, I got this:
Starting server using port 8080
.. so it's not exactly working yet. ;-)