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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

iOS VoIP待ち受けの仕組み

7,002
views

Published on


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

No Downloads
Views
Total Views
7,002
On Slideshare
0
From Embeds
0
Number of Embeds
5
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);

×