On 24 Jun '08, at 11:27 AM, sheen mac wrote:

I am working on a server-client application for live video broadcast using CFSocket.Its working good in LAN connection.But when I changed it into
wifi network .It gets blocked after a few seconds.

There's nothing fundamentally different. What's probably going on is some variation in timing that's exposing a bug in your code, most likely where you're handling reading or writing data.

Is there a reason you're not using NSStream or CFStream instead? Those are higher-level APIs that are easier to work with (especially since NSStream is Objective-C.) My "MYNetwork" library includes a generic TCP client/listener; you could subclass those or just look at the code for hints.
        http://mooseyard.com/hg/hgwebdir.cgi/MYNetwork/

—Jens_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to