On Jun 10, 2011, at 4:55 PM, jodischla...@gmx.de wrote:

> Thank you for your patience, but I think I understand the difference. The 
> thing is that I wanted to make a TCPServer that sends a piece of NSData to 
> any client that connects. Thus my plan was to create an NSInputStream via 
> [NSInputStream inputStreamWithData:].

That seems convoluted. Why not just use the input stream from the socket?

[Suggestion: You might want to take this to the macnetworkprog mailing list, as 
it’s more on-topic there and there will be more networking gurus to help out.]

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to