Am using below code for decrypting the VideoFile.mp4(CTR/Nopadding encrypted file) and playing it in Avplayer. This code works for small files. But it ...
Am using below code for decrypting the VideoFile.mp4(CTR/Nopadding encrypted file) and playing it in Avplayer. This code works for small files. But it ...
I find a method like setReceiveBufferSize() in Java on Objective C. I use NSStream for TCP connection but there is no method of any kind of like that. ...
I'm writing a little peer-to-peer bluetooth chat app. What I'm currently doing is: Where self.channel is CBL2CAPChannel The problem I'm currently f ...
Our OSX app is uploading multiple files to the server using While uploading, the upload gets stuck. Some files manage to upload successfully, some ...
Can someone please explain difference between these 2 properties? They accept same set of values defined in https://developer.apple.com/documentation/ ...
I code exactly same as Apple's official demo as above, the communication with external accessory via lightning port works fine except on "iOS 11.2.1 ...
I'm trying to connect to wss socket, and the host name looks like this: "myhostname.com/ws/v2". Here is how I start the connection: This fails with ...
I am working with the Twitter REST/Streaming APIs. When I want to access the REST API, I create a NSMutableURLRequest (that contains parameters such a ...
I am creating an app that communicates with an external service via a TCP Socket (NSStream). I am running into an issue on an iPhone 7 running iOS 10 ...
I am working with an external device that I receive data from. I want to handle its data read/write queue asynchronously, in a thread. I've got it mo ...
I am sending JSON from my server to my cocoa app. The cocoa app receives data like this: The problem is, is if the data begins to be any larger t ...
I have NSInputStream and NSOutputStream from this code Issue: How do I convert those stream to SSL after it was opened ? I tried following, but I ...
So I was playing around with sockets in Swift and trying to connect the app with my server. I was having the app connect to the IP address of the serv ...
I am using NSStream to do the handshake as server, handshake is successful there is not issue. i get the client certificate and i validate and store i ...
I created NSStreams to transfer something using the below code: At some point, I want to close the streams using the below code: All input/outpu ...
I want to send and receive some data using nsstreams. I don't want to clutter my code so much, so I was wondering: Do I need to keep a strong refere ...
Everything work as expected just step-by-step throw debugger, otherwise I'm getting EXC_BAD_ACCESS. I guess that I need a delay somewhere or waiting(p ...
I have a python server in the cloud that accepts socket requests. I have a Swift (xCode) client application that uses NS(in/out)putstreams to communic ...
I got a problem when handling the stream events. I have a client app which connect to a server via TCP and constantly receive JSON datas from server. ...
I'm sending audio from the microphone in realtime from an iOS device to a server. The problem that I have: When it gets disconnected for any reason, ...