CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - c B
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - c B - List
[
TCP/IP stack
]
Ip_Check
DL : 0
A:用c++语言来实现对IP的合法性进行验证。 例如: 1:1.1.1.1.1 2:0.1.1.1 3:.2.3.啊 等等都不是合法的IP地址。 B:判断两个子网是不是在同一网段,等等。具体如抓图所示。-A : c language to realize the legitimacy of IP verified. For example : 1:1.1.1.1.1 2:0.1.1.1 3 : 1.2.3. ah, etc. is not legitimate IP addresses. B : two subnetworks judgment is not in the same network segment, and so on. Previously shown in the specific example.
Date
: 2008-10-13
Size
: 41.01kb
User
:
skyfloorone
[
TCP/IP stack
]
Ip_Check
DL : 0
A:用c++语言来实现对IP的合法性进行验证。 例如: 1:1.1.1.1.1 2:0.1.1.1 3:.2.3.啊 等等都不是合法的IP地址。 B:判断两个子网是不是在同一网段,等等。具体如抓图所示。-A : c language to realize the legitimacy of IP verified. For example : 1:1.1.1.1.1 2:0.1.1.1 3 : 1.2.3. ah, etc. is not legitimate IP addresses. B : two subnetworks judgment is not in the same network segment, and so on. Previously shown in the specific example.
Date
: 2025-12-21
Size
: 41kb
User
:
[
TCP/IP stack
]
notequiprobable
DL : 0
2.实现产生A、B、C、D、E五个消息的信源,各消息的产生概率分别为0.4,0.1,0.2,0.2,0.1,试连续产生该信源的100个消息,根据产生的消息序列统计每个消息的相应后验概率。-not equiprobable
Date
: 2025-12-21
Size
: 1kb
User
:
sinasina
[
TCP/IP stack
]
gbn
DL : 1
gbn协议 c 实现一个GBN传输协议的发送方和接收方两程序-This code should be used for PA2, unidirectional or bidirectional data transfer protocols (from A to B. Bidirectional transfer of data is for extra credit and is not required)
Date
: 2025-12-21
Size
: 6kb
User
:
o0huahuo0o
[
TCP/IP stack
]
Router
DL : 0
这是一个模仿路由算法的java程序。 实现关于路由器的简单功能。 实现距离矢量路由算法。 所实现的路由器模拟Internet上的IP路由器。它能确定网络的最短路由,并在这些利用上传输分组 实现功能简介 1) 编写一个称为“Router”的程序 2) 利用距离向量算法更新路由表 3) 该程序的多个实例(进程或线程)可以以运行在一台机器 4) 实例之间利用UDP交换路由表 5) 假设结点与其邻居结点的都为距离为1。 6) 为了指明实例及其邻居,程序启动时必须能接收以下参数: 7) router ID, myport, port1, port2, port3… 8) 程序必须能处理以下命令: a) N-打印活动的邻居列表。 b) T-输出路由表。 c) 0,1,… 9-发送分组 9) 关于时间定时 a) 每个路由器每2秒钟发出它们的路由表 b) 每个路由器根据收到的路由表更新它们自己的路由表 c) 路由器必须具备检测邻居是否活动的能力。如果路由器在6秒钟没有收到邻居发来的更新,则认为邻居不可达 10) 关于拓扑结构 a) 路由器必须具备路由器故障和恢复的能力 b) 这里假设链路不会出现故障,分组不会丢失和出错 c) 如果路由器在给定时间内未运行,表示路由器故障。如果重启运行,则认为路由器故障恢复 d)当然,假设通信是双向的 -This is a parody routing algorithm java program. Achieve a simple function on the router. Implement distance vector routing algorithm. Internet router simulation achieved the IP router. It can determine the shortest route network, and in these transmission packet utilization Achieve Features A) preparation of a group called "Router" program 2) the use of distance vector algorithm updates the routing table 3) multiple instances of the program (processes or threads) can be run on a single machine 4) between instances using UDP exchange routing table 5) Assuming that node and its neighbor nodes are distance of 1. 6) In order to specify the instance and its neighbors, the program must be able to start receiving the following parameters: 7) router ID, myport, port1, port2, port3 ... 8) program must be able to deal with the following command: a) N-printing activities neighbor list. b) T-output routing table. c) 0,1, ... 9- to send the packet 9) About Time Timing a) given eve
Date
: 2025-12-21
Size
: 72kb
User
:
张天扬
[
TCP/IP stack
]
ip2region-1.3-release
DL : 0
ip2region是准确率99.9%的ip地址定位库,0.0x毫秒级查询,数据库文件大小只有2.7M,提供了java, php, c, python,nodejs,golang查询绑定和Binary,B树,内存三种查询算法,妈妈再也不同担心我的ip地址定位!(Ip2region is a IP library address location accuracy of 99.9% millisecond, 0.0x query, database file size is only 2.7M, PHP, C provides Java, python, nodejs, golang and Binary B binding query, tree, three kinds of query algorithm of memory, my mother no longer worry about my IP address location!)
Date
: 2025-12-21
Size
: 2.99mb
User
:
Chunhui1012
[
TCP/IP stack
]
code1
DL : 0
UDP and TCP 可以使用这个文件来运行任何tcp和udp,然后做成后端和前端(The server communicating with the client is called AWS (Amazon Web Server). The three backend servers are named Back-Server A, Back-Server B and Back-Server C. Back-Server A can compute x2 , Back-Server B can compute x3 , and Back-Server C can compute x5 , for any input x . The client and the AWS communicates over a TCP connection while the communication between AWS and the Back-Servers A, B & C is over a UDP connection. In this approximation, a Back-Server can be reused while computing the Taylor Series for one input.)
Date
: 2025-12-21
Size
: 21kb
User
:
Dionysus6
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.