iStat Server connection

Discussion in 'Mac Programming' started by dikketienes, Feb 1, 2010.

  1. dikketienes macrumors member

    Joined:
    Oct 13, 2008
    #1
    Hi,

    I'm trying to read data out of iStat server, running on another mac.
    I can connect with it using my iPhone but i wanna try to connect with it using terminal or something.
    Does anybody know what sort of connection they use to send data to the iPhone?

    When I use "curl" in Terminal it appears in iStat Server, that's something :p
    [​IMG]

    Gr
     
  2. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #2
    You could use Wireshark to find out for sure but I imagine that it is either SSH, HTTPS or a custom protocol over an SSL connection.

    Edit: Just had a look at the site as I have not heard of it before and I couldn't find anything either way. You could look through the source of the FreeBSD open source version though and work it out but I don't have the time at the moment I'm afraid.
     
  3. brainbarker macrumors newbie

    Joined:
    Feb 17, 2010
    #3
    Try the linux server

    There is a Linux iStat server, which has source code available. I was tinkering with it the other day, to get it working on Windows XP, and was able to easily watch the data passing back and forth. It's mostly XML, but the handshake for logging in is not.

    If you program (it's in C++), you should be able to figure it out with a few hours of playing around with it.

    - Brian.
     

Share This Page