iOS VoIP待ち受けの仕組み
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
7,406
On Slideshare
7,386
From Embeds
20
Number of Embeds
8

Actions

Shares
Downloads
27
Comments
0
Likes
9

Embeds 20

https://twitter.com 4
http://twitter.com 3
http://www.google.co.jp 3
http://a0.twimg.com 3
http://dev1.i-call.co.jp 3
http://vaporoid.com 2
http://datecult.com 1
https://www.google.co.jp 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. [stream setProperty:NSStreamNetworkServiceTypeVoIP forKey:NSStreamNetworkServiceType];
  • 2. [[UIApplication sharedApplication] setKeepAliveTimeout:600 handler:^{ // }];
  • 3. [[UIApplication sharedApplication] setKeepAliveTimeout:600 handler:^{ // }];
  • 4. [[UIApplication sharedApplication] setKeepAliveTimeout:600 handler:^{ // }];
  • 5. int fd = socket(AF_INET, SOCK_STREAM, 0);NSInputStream* stream;CFStreamCreatePairWithSocket( kCFAllocatorDefault, fd, (CFReadStreamRef*)&stream, NULL);
  • 6. int fd = socket(AF_INET, SOCK_STREAM, 0);NSInputStream* stream;CFStreamCreatePairWithSocket( kCFAllocatorDefault, fd, (CFReadStreamRef*)&stream, NULL);