projects
/
swift-upb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
moved sockets to swift::Datagram
[swift-upb.git]
/
transfer.cpp
diff --git
a/transfer.cpp
b/transfer.cpp
index
a67a61b
..
296f743
100644
(file)
--- a/
transfer.cpp
+++ b/
transfer.cpp
@@
-90,7
+90,7
@@
void FileTransfer::OnPexIn (const Address& addr) {
return; // already connected
}
if (hs_in_.size()<20) {
- new Channel(this,
Channel
::default_socket(),addr);
+ new Channel(this,
Datagram
::default_socket(),addr);
} else {
pex_in_.push_back(addr);
if (pex_in_.size()>1000)