It works fine for the first occurrence of sequence above (1st and
2nd). But if I repeated the sequence continuously, I noticed that
data1 and data2 arrived at the receiver end as a single piece of
data. It only happens if the file size is larger than 8 or 9MB. And
it happened immediately right after the first successful of the
sequence above.
(if data2 above is less than 8MB, then it worked fine continuously.)
AL1
unread,
May 1, 2012, 6:44:19 PM5/1/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CocoaAsyncSocket
Problem solved: I overlooked that the writeData is an asynchronous
operation!
Steve Crossman
unread,
May 2, 2012, 8:22:55 AM5/2/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cocoaasy...@googlegroups.com
Is it possible to have the Socket Server make a broadcast to all clients via Bonjour or must the client initiate the call to the Server?
How would you do this, if possible?
Steve
~ thanks for this great resource !!!
Robbie Hanson
unread,
May 4, 2012, 4:02:43 PM5/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message