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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

iOS VoIP待ち受けの仕組み

6,806
views

Published on


0 Comments
9 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,806
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
28
Comments
0
Likes
9
Embeds 0
No embeds

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);