CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - udp loss algorithm
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - udp loss algorithm - List
[
TCP/IP stack
]
UDP
DL : 0
使用UDP算法实现模拟TCP丢包后的动作-The use of UDP algorithm simulation of the action after the TCP packet loss
Date
: 2025-07-12
Size
: 224kb
User
:
Kword
[
JSP/Java
]
udp-reliable-data-transmission
DL : 0
UDP实现可靠数据传输。使用GBN算法,实现了:1.随即丢包(随机数产生器Math.random()) 2.丢包后遇冗余ack重传 3.超时重传 (DatagramSocket和Socket都有成员函数setSoTimeout(delay),通过捕获超时时抛出的IO异常来实现超时重传)-Reliable UDP data transfer. GBN algorithm used to realize: 1. Then packet loss (random number generator Math.random ()) 2. After the case of redundant packet loss retransmission ack 3. Retransmission timeout (DatagramSocket and Socket has a member function setSoTimeout ( delay), by capturing the IO exception thrown during timeout to achieve retransmission timeout)
Date
: 2025-07-12
Size
: 10kb
User
:
nazali
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.