小编Sta*_*der的帖子

TCP如何实现/保证有序数据传输?

我想知道TCP如何实现按顺序交付.

让我们说这是事件列表

  1. packet1发送,ack收到.
  2. packet2发送,ack未收到.
  3. packet3发送.
  4. packet4发送.
  5. ack4收到了.
  6. ack3收到了.
  7. ack2收到了.

你能告诉我顺序发生了什么吗?

sockets tcp inorder

10
推荐指数
2
解决办法
5552
查看次数

使用字节数组播放声音

如何在 Python 中使用字节数组播放声音。更准确地说,我从套接字读取了一个字节数组,我想将其转换为声音以理解它。我怎样才能做到这一点?

任何图书馆都会很有用。

python ffmpeg

5
推荐指数
1
解决办法
3744
查看次数

Pod GoogleMaps无法正常工作

我知道这是非常基本的,但无法调试问题.这是我的Podfile.

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.1'
pod 'GoogleMaps'
Run Code Online (Sandbox Code Playgroud)

我从这里选了这个.当我尝试时pod install,我明白了

[!] Unable to find a specification for `GoogleMaps`
Run Code Online (Sandbox Code Playgroud)

详细说:

  Preparing

Updating local specs repositories

Updating spec repo `master`
  $ /usr/bin/git pull --ff-only
  Already up-to-date.

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods`: (``)

Finding Podfile changes
  - GoogleMaps

Resolving dependencies of `Podfile`
[!] Unable to find a specification for `GoogleMaps`

/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/resolver.rb:388:in `handle_resolver_error'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/resolver.rb:69:in `rescue in resolve'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/resolver.rb:56:in `resolve'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer/analyzer.rb:535:in …
Run Code Online (Sandbox Code Playgroud)

ios cocoapods

1
推荐指数
1
解决办法
3395
查看次数

标签 统计

cocoapods ×1

ffmpeg ×1

inorder ×1

ios ×1

python ×1

sockets ×1

tcp ×1