Menu

#211 perform /connect

open
nobody
None
5
2008-01-16
2008-01-16
Anonymous
No

i think it would be WERY useful if we could use '/connect host[:port]' in perform... (a hub with fix ip for example)

i thought WASTE supposed to automatically try connecting to previously known peers however the win32 build does nothing like that on startup.
(well maybe better this way, still at least a /connect would be nice.)

thx!

Discussion

  • Nobody/Anonymous

    Logged In: NO

    well to be on the safe side it should look something like this:

    ...

    char host[256] = "";

    ...

    if(strlen(host))
    AddConnection(host, port, 1);

    ...

     
  • Nobody/Anonymous

    Logged In: NO

    lol! all right strtok is a tad more tricky than i thought
    nesting them wasn't a good idea...

     
  • Nobody/Anonymous

    i dont understand very well how to connect to somebody elses computer do i need their public or private key? or what do i need, please could you make a walkthrough or manual? or just answer that at least?

     
  • Deman

    Deman - 2009-02-22

    You need to read the WASTE tutorial someone wrote sometimes and can be found somewhere!
    Aside from that /connect in the performs only helps you join your mesh automatically, and yes you need to exchange keys with the guy you are trying to connect to. You need his public key (he won't give you his private) and he needs your public key too.
    Actually I have that doc, might as well make it public...

     
  • Deman

    Deman - 2009-02-22

    Oh yes and I forgot there is no /connect in WASTE it's as far as I know only in WASTE again
    http://sourceforge.net/projects/wasteagain/

     

Log in to post a comment.

MongoDB Logo MongoDB