Arranging A Byte Array

Discussion in 'iPhone/iPad Programming' started by arjunb, Jul 29, 2011.

  1. macrumors newbie

    Joined:
    Jul 29, 2011
    #1
    Hi All,

    I have a question that I have been unable to solve for a good week now. I am new to Xcode and cocoa so please excuse my lack of knowledge. Well, I have been trying to send a TCP/IP command to an sqlserver and oracle server at work and I have been successful in sending a receiving data byte array in NSlog. The problem is that when I send the command @"1GA~N" I get an enormous amount of data in one string. The data is organized in a fashion that if I like for a char int of 14 that is a column of the sqlserver, 15 is a row, and 20 is a table. Now I have no idea how to search the byte array before it is converted to string for characters 14,15, and 20. If anyone could please help I would deeply appreciate it.

    Thanks,
    Arjun
     
  2. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #2
    Post the code your using for the TCP/IP communication so we can see which technique your using.
     

Share This Page