On Apr 28, 2011, at 2:45 AM, Bing Li wrote:
> But I don't
> know which frameworks in Cocoa should be added so that Socket and Bind can
> be compiled.
I think it's CoreFoundation or CoreServices...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
__
Dear Lance,
Your experiences are important to me. I would like to use BSD sockets to
implement the peer-to-peer model.
I got a basic problem. I follow the book, Unix Network Programming, 3rd
edition. When compiling the simple code, TCPEchoServer, some errors exist in
unp.h. Moreover, the basic AP
eed custom packets
6) etc
> Date: Thu, 28 Apr 2011 01:49:31 +0800
> From: lbl...@gmail.com
> To: con...@synthetiqsolutions.com
> CC: cocoa-dev@lists.apple.com
> Subject: Re: BSD TCP Programming on iPad
>
> Dear Conrad and all,
>
> I appreciate so much for all o
ts.apple.com
> Subject: Re: BSD TCP Programming on iPad
>
> Reread the suggestions. Keith suggested CFNetwork and CFSocket.h to handle
> BSD sockets, JohnP and JohnJ gave documentation and sample code.
>
> Have you looked at the resources?
>
> For what it is worth, I write
On Mon, 25 Apr 2011 02:49:11 +0800, Bing Li said:
>I am planning to program with BSD TCP on iPad. The motivation to do that is
>that a P2P model is expected. I think the network techniques, such as Web
>Services and Push Notification, supported by Cocoa do not meet the
>requirements.
You might lo
Dear Conrad and all,
I appreciate so much for all of your replies!
Since I am a new iOS developer, I cannot make a decision which technique I
should use. Now I just clarify my system again. What I am trying to do is to
implement a BitTorrent-like multicast among iPad. Meanwhile, the original
data
> The one subtle complication here is that NSStream does not currently
> support remote connections on iOS without modification. Fortunately,
> Apple provides documentation on how to get around this with a minimal
> amount of CFNetwork to setup the stream:
>
> http://developer.apple.com/library/i
On Apr 27, 2011, at 11:12 AM, lbland wrote:
> It is just BSD sockets ... get the book. It is: UNIX Network Programming by
> Richard Stevens
And for beginners, Effective TCP/IP is a good supplemental book.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voi
Bing Li wrote:
> I have a Java based server. So iPad needs to communicate with it.
> Moreover, I hope a P2P model can be established between the server and
> multiple iPads. Therefore, I hope I could use TCP to design the protocol
> directly instead of using HTTP.
Since HTTP typically runs over TC
hi-
On Apr 27, 2011, at 12:25 PM, Bing Li wrote:
> Therefore, I hope I could use TCP to design the protocol directly instead of
> using HTTP.
>
> However, I have NOT got sufficient materials to program TCP on iPad.
It is just BSD sockets ... get the book. It is: UNIX Network Programming by
Ric
TCP is just a magic abstraction that lets you put a stream of data in on
one side of the internet and have it appear out the other side, in order
and without missing pieces, with some network caveats. It provides
nothing else, it's just a raw socket.
It's up to you to design the protocol, includi
Reread the suggestions. Keith suggested CFNetwork and CFSocket.h to handle
BSD sockets, JohnP and JohnJ gave documentation and sample code.
Have you looked at the resources?
For what it is worth, I write Java servers regularly Serving some xml or
json over http has some advantages, but if the s
Dear Conrad,
I appreciate so much for your reply!
I have a Java based server. So iPad needs to communicate with it. Moreover,
I hope a P2P model can be established between the server and multiple iPads.
Therefore, I hope I could use TCP to design the protocol directly instead of
using HTTP.
Howe
Why would the platform, architecture, or server language impact the
implementation of a network client application? That sort of defeats the whole
point of TCP/IP and the rest of the protocol stack...
Can you elaborate more on what you are trying to do? It sounds to me like you
are putting the
Dear Keith and all,
I hope my iPad could communicate with my servers. The servers run Java.
However, I don't want to use Web services. So I hope I could use BSD sockets
to talk with remote Java servers. I think XML should be utilized too for
this case.
I am not sure if it is possible to do that.
On 25 Apr 2011, at 16:00, Bing Li wrote:
> Dear Marcus,
>
> Could you tell me which features are not available when using BSD sockets on
> iOS? Although I would like to use CFNetwork APIs, I cannot find enough
> materials to learn how to use them. The guide from apple.com is too limited
> to be
You might also want to look into the GameKit APIs present in iOS... by going
lower level, you'd likely be re-inventing the functionality these APIs provide
already. There is extensive documentation on GameKit and its use within the
Apple docs. I might also recommend the following books:
http:
Have you looked at the sample code?
https://developer.apple.com/library/ios/#samplecode/SimpleNetworkStreams/Listings/Read_Me_About_SimpleNetworkStreams_txt.html%23//apple_ref/doc/uid/DTS40008979-Read_Me_About_SimpleNetworkStreams_txt-DontLinkElementID_8
On Apr 25, 2011, at 10:00 AM, Bing Li wrot
Dear Marcus,
Could you tell me which features are not available when using BSD sockets on
iOS? Although I would like to use CFNetwork APIs, I cannot find enough
materials to learn how to use them. The guide from apple.com is too limited
to be useful. Could you provide me with other resources about
Dear all,
I am planning to program with BSD TCP on iPad. The motivation to do that
is that a P2P model is expected. I think the network techniques, such as
Web Services and Push Notification, supported by Cocoa do not meet the
requirements.
My experiences on iPad are not sufficient. I am not sur
Dear all,
I am planning to program with BSD TCP on iPad. The motivation to do that is
that a P2P model is expected. I think the network techniques, such as Web
Services and Push Notification, supported by Cocoa do not meet the
requirements.
My experiences on iPad are not sufficient. I am not sure
21 matches
Mail list logo