Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

arjunb

macrumors newbie
Original poster
Jul 29, 2011
1
0
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.