Find Jobs
Hire Freelancers

Communication class for iOS

$30-60 USD

已取消
已发布超过 12 年前

$30-60 USD

货到付款
I need a class that will communicate with my server and will retrieve data from it. The communication protocol is propietary but very simple, you send one struct, get one back, what it does is give me the category of a web site, so the class will send the URL and will receive a reply and report the reply or failure. The class will try to reuse sockets and not connect per each connection to the server. Also I need to be able to specify a timeout on the wait, if the timeout passed, it should stop and return an error. You can see how the structs of the protocol looks like (more or less): //The request typedef struct _RequestData { //Constant header unsigned char ucTotalSize; unsigned char ucVersion; unsigned char ucFlags; //Now there will come two null terminated strings, one of the ID, one the url char* pID; char* pURL; } RequestData; //The reply data typedef struct _ReplyData { //Constant header unsigned char ucTotalSize; unsigned char ucVersion; unsigned char ucStatus; //Now there will come two terminated string of the reply unsigned char ucCategories[4]; unsigned char ucExtraAvailable[4]; //This will only come back in version1 } ReplyData; So when I create the class I will give it the ID to send in the request, and then per request I will provide the URL, and timeout, and the class will return timeout, error or the result.
项目 ID: 3646042

关于此项目

远程项目
活跃12 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作

关于客户

ISRAEL的国旗
Israel
4.9
146
付款方式已验证
会员自4月 16, 2007起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。