protocols
do you think http protocol mix character stream with byte stream is not a good design
Firstly,when I say http protocol mix character stream with byte stream,I mean request head is character stream and request body is byte stream(specified by content-length ),they are seperated by an em[详细]
2023-04-07 02:49 分类:问答How to know when you finish receiving a TCP stream?
I\'m not sure how to tell in TCP when the sender finished sending me the information. For example if A needs to send 200 bytes to B, how will B know that A finished sending, and that the information[详细]
2023-04-07 01:28 分类:问答Why do Objective-c protocols adopt other protocols?
I\'ve seen Objective-c protocols defined in the following way: @protoco开发者_如何学JAVAl MyProtocol <SomeOtherProtocol>[详细]
2023-04-06 15:52 分类:问答Can Objective-C protocols and categories be inherited?
I am开发者_开发问答 little confused about some concepts around Objective-C protocols and categories.[详细]
2023-04-06 08:53 分类:问答Protocol and Delegate between View and Controller
I\'m having some trouble getting the protocol/delegate method to work between the Model (GraphView) and the Controller (GraphViewController). The NSLog in the drawRect: in GraphView.m tells me that ex[详细]
2023-04-06 03:05 分类:问答How do you interpret this phrase?
How do you interpret this phrase? Checksum This is the value to make zero on the addition of the lower 8 bits from the header to the checksum.[详细]
2023-04-06 02:38 分类:问答Pass a protocol as a method argument
First let me explain what I don\'t mean. I don\'t want to type an argument to a protocol: -(void)someMethod:(id<SomeProtocol>)someArgument;[详细]
2023-04-06 01:39 分类:问答In Java linux platform how can i connect to ttyS0 or ttyUSB0 for sending and receiving data?
I am trying to connect to a hardware, which works with my other operating system tools (such as minicom).[详细]
2023-04-05 21:37 分类:问答Protocol design for an application
I am writing an client server application. In this I will have to transfer packets of size 1024 bytes from the client to server. If the packet size is more it must divided into two packets. The server[详细]
2023-04-05 20:32 分类:问答calling the protocol methods in objective c
i have used the following protocol in the yyyy.h file of a class @protocol FGalleryViewControllerDelegate[详细]
2023-04-05 07:16 分类:问答