-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi All,
I am using AsyncSocket class in a simple client-server application. As a first step I want that - as soon as connection is established between client and server, client transmit a welcome message - "connected to xyz server" to server and server displays it in textview.
//The code in ClientController…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am attempting to use asyncsocket to communicate GPS data from a server app on my iPhone to a client app on my macbook. The two devices connect without any problems, and when the first data is sent from the iPhone to the laptop in asyncsocket's didConnectToHost method, the data is sent without hiccup…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have an iPhone application that send datas via wifi on my mac. I would like to send a logout message to my mac when I quit the iPhone app.
I tried to send it on the :
-applicationWillTerminate methode
but it seems that the application shut down my service before. How and where can I send my message…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey all,
Im trying to make a MJPEG viewer in Objective C but I'm having a bunch of issues with it.
First off, Im using AsyncSocket(http://code.google.com/p/cocoaasyncsocket/) which lets me connect to the host.
Here's what I got so far
NSLog(@"Ready");
asyncSocket = [[AsyncSocket alloc] initWithDelegate:self];
//http://kamera5…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey all!
I'm using ASyncSocket to move some UIImages from one device over to another.
Essentially, on one device I have:
NSMutableData *data = UIImageJPEGRepresentation(image, 0.1);
if(isRunning){
[sock writeData:data withTimeout:-1 tag:0];
}
So a new image will be added to the socket every…
>>> More