Packet reading

Discussion in 'iOS Development' started by jo282, Feb 21, 2009.

  1. jo282

    jo282 New Member

    Joined:
    Feb 15, 2009
    Messages:
    11
    Likes Received:
    0
    Device:
    2G iPod touch
    I everybody.

    I need to make a apps that read info sended from a pc server. Could someone tell me how to send packet from pc and read it on my IpodT ?
    Ex: The pc is reading the CPU usage and send it to the ipod in realtime via wifi. Just like the iStats apps but for windows. Please help me i realy need this.

    Thanks
  2. Chicken

    Chicken Retired Moderator

    Joined:
    Feb 17, 2008
    Messages:
    2,494
    Likes Received:
    7
    Device:
    iPhone 5S
    so basically you want us to make your app for you ?
  3. danblack101

    danblack101 New Member

    Joined:
    Feb 10, 2009
    Messages:
    11
    Likes Received:
    0
    Why don't you write code on your pc to dump stats to folder.
    Then write a prog on your ipod to poll that folder.
  4. Chicken

    Chicken Retired Moderator

    Joined:
    Feb 17, 2008
    Messages:
    2,494
    Likes Received:
    7
    Device:
    iPhone 5S
    ^^^^^^^^^^^

    great idea much easier than what you were asking
  5. jo282

    jo282 New Member

    Joined:
    Feb 15, 2009
    Messages:
    11
    Likes Received:
    0
    Device:
    2G iPod touch
    Yeah ok thanks but can someone tell me how can i make the apps to poll a folder ?
  6. danblack101

    danblack101 New Member

    Joined:
    Feb 10, 2009
    Messages:
    11
    Likes Received:
    0
    I would do it by writing a prog that uses scp to send a file to pod.
    Then use something like

    to read in the file. Chuck that in a loop with an NSTimer or NSThread sleepForTimeInterval and you'l be laughing
  7. ZunePod

    ZunePod Banned

    Joined:
    Aug 28, 2008
    Messages:
    1,340
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    What he's asking is for what sort of data output as in what files to send, and the refresh rate will be high

Share This Page