Hi:
I am working on a project which I am going to implement an UI for IPad while the original UI is written in Python.
Here is a Python script written in the original UI:
I need to make the same message and put it into the NSStream for sending to a remote server. How can I convert the script into NSString format?
Thanks.
Thanks in advance.
I am working on a project which I am going to implement an UI for IPad while the original UI is written in Python.
Here is a Python script written in the original UI:
Code:
msg = '%8s\0%8s\0%8s\0%s\0'(dst,code,appcode,data)
size = len(msg)+9
msg='%8s\0%s'(size,msg)
I need to make the same message and put it into the NSStream for sending to a remote server. How can I convert the script into NSString format?
Thanks.
Thanks in advance.