cocoaasyncsocket Questions

3

Solved

I am playing with CocoaAsyncSocket in Swift to bind to a UDP socket and receive messages over the local network. I am initialising a socket, and trying to bind to a port but am getting a NSPOSIXEr...
Inkstand asked 13/12, 2017 at 16:5

2

Solved

BACKGROUND: I want to be able to send and receive UDP packets between my iOS app and a server. The server echoes back every incoming message to the client the app. The server is tested and confirm...
Kusin asked 6/11, 2014 at 21:54

2

GCDAsyncSocket delegates not being called in swift class, but works very well in UIViewController class. Below is my custom class code, in this class connect function will start socket connection a...
Load asked 2/6, 2016 at 12:49

1

Solved

I have been using CocoaAsyncSocket to send data to our server without SSL. Now the server side has implemented SSL/TLS with client authentication. TO implement this in our app I was given the follo...
Brookhouse asked 13/3, 2017 at 21:12

0

I have a problem to send audio by CocoaAsyncSocket via UDP in swift. First of all I run below code to start listening 4444 UDP port. vlc --demux=rawaud --rawaud-channels=1 --rawaud-samplerate=480...
Shier asked 28/3, 2016 at 15:8

1

Solved

I am working on trying develop a means of discovering Logitech Harmony Hub devices on my local network, from an iOS app. The concept is inspired by this NODE.JS project, which seems to send out a U...
Chong asked 11/2, 2016 at 23:1

3

Solved

I'm using the CocoaAsyncSocket library in my Swift-based iOS app. I have created an async UDP socket to a UDP server on my network, and it sends back a reply. I'm reading this reply like this: fu...
Virtuosic asked 13/9, 2014 at 15:7

1

Solved

I'm trying to receive a SSDP response using swift with the library CocoaAsyncSocket (https://github.com/robbiehanson/CocoaAsyncSocket) I can successfully send the M-Search command to the multicast...
Courtship asked 25/12, 2014 at 19:32

3

Solved

I just marked all of my CocoaAsyncSocket code as non-ARC code, and it's given me these 3 errors: Undefined symbols for architecture armv7: "_kCFStreamNetworkServiceTypeVoIP", referenced from: -[...
Specter asked 27/12, 2011 at 21:16

2

Solved

I'm trying to get a simple example working with GCDAsyncSocket, and am discovering that I'm missing certain bits of understanding and hope you fine people can help explain this. I've setup the GCD...
Highchair asked 3/11, 2011 at 15:7

1

I want to read and write data from OBD2 Wifi enabled Adapter which is used to read car data and fault codes. For that ,I'm using GGCDAsyncSocket Library for socket connection. You can download Co...
Bluh asked 6/12, 2013 at 13:2

1

Solved

In first approach I create client-server app ,based on sampleProject , which send some data to server. Legend: sender address = reciver ip port = reciver port reciver address = null since he i...
Thrifty asked 9/8, 2013 at 0:7

1

Solved

I looked into GCDAsyncSocket.m at the code that handles read timeout. If I don't extend the timeout, it seems that socket got closed and there is no option to the socket alive keep. I can't use inf...
Catfish asked 7/2, 2013 at 11:24

4

Solved

I'm hoping to be able to use PhoneGap for my app. I will have to build a custom protocol/plugin so that I can call Native methods from the Javascript. I know you can call a success function in the ...
Helvetii asked 10/10, 2011 at 23:39

2

Solved

I have an EventMachine server sending TCP data down to a Mac client (via GCDAsyncSocket). It always works flawlessly for a while, but inevitably the server suddenly stops sending data on a connecti...
Dartmouth asked 9/2, 2012 at 18:54

1

Solved

I am trying to simply send and recieve a message using GCDAsyncSocket and cannot get it to work. I am successfully establishing the connection and writing messages, but when it comes to reading my...
Guinevere asked 3/12, 2011 at 14:56
1

© 2022 - 2024 — McMap. All rights reserved.