-
java p2p 很好找到
ackage ex1_tp2 ;
导入 java.rmi.* ;
导入 java.rmi.server.* ;
导入 java.rmi.registry.* ;
公共类 Serveur 扩展 UnicastRemoteObject 实现 ex_ser {
公共 Serveur() 引发 RemoteException {}
公共字符串 reponce (字符串 mot) 引发 RemoteException {
返回"Bonjour tous";
}
公共静态 void main (字符串 [] args) {
请尝试 {
LocateRegistry.createRegistry(1099) ;
System.out.println ("端口 1099年") ;
} catch (RemoteException e1) {
System.err.println ("pas de 端口") ;
System.exit(1) ;
}
请尝试 {
Serveur objet = 新 Serveur() ;
Naming.rebind("mounir",objet) ;
System.out.println ("Serveur prêt") ;
}
catch (异常 e) {
System.err.println ("最好派个:"+ e.getMessage()) ;
}
}
}
- 2022-10-20 00:50:04下载
- 积分:1
-
Visual C++ 完全自学手册的代码
Visual C++ 完全自学手册的代码-Visual C++ Completely self-manual code
- 2022-02-05 04:56:05下载
- 积分:1
-
java抽取word、pdf、txt,希望能给大家帮助
java抽取word、pdf、txt,希望能给大家帮助-java extracted word, pdf, txt, I hope we can help
- 2022-08-11 01:38:31下载
- 积分:1
-
遗传算法C++源码
遗传算法C++源码
遗传算法C++源码
遗传算法C++源码-Genetic Algorithms C++ source code C++ genetic algorithm genetic algorithm source code C++ source code
- 2023-07-17 10:10:05下载
- 积分:1
-
Chat工程
资源描述自己做了一个模拟聊天程序,在一台机子里使两个对话框之间数据传输,先运行ChatSev,然后再运行ChatClt。在IP框输入IP地址便可以进行对话了!有点低端,但是可以作为初学者的经验
- 2022-04-25 01:37:35下载
- 积分:1
-
machine scheduling problems required to give a scheduling program, so as to the...
多机调度问题要求给出一种作业调度方案,使所给的n个作业在尽可能短的时间内由m台机器加工处理完成。 这个问题是NP安全问题,到目前为止还没有有效的解法。对于这一类问题,用贪心选择策略有时可以设计出较好的近似算法。-machine scheduling problems required to give a scheduling program, so as to the n operations in the shortest possible time by the m-machine processing completed. The problem is NP security issues, so far no effective solution. For this type of issue, greedy strategy can sometimes choose to design a better approximation algorithm.
- 2022-03-30 06:33:49下载
- 积分:1
-
PC serial transmission of data, receives eight consecutive information, or to re...
使串口接受上位机发送的数据,当接受到8个连续数据后,将接收计数值加一后数出数码管显示,并将数据原封不动的发送会上位机。-PC serial transmission of data, receives eight consecutive information, or to receive a numerical increase after a few out of the digital display, and will send the data was intact aircraft.
- 2022-05-28 13:12:59下载
- 积分:1
-
SVGA编程 c语言图形编程
SVGA编程 c语言图形编程-SVGA graphical programming language
- 2023-02-04 01:20:03下载
- 积分:1
-
根据协议中的原则,对每个字节进行分析,…
能够根据bbs的协议原则,对每个字节进行分析,同时也能够同时显示中文和英文-According to the agreement in principle with each other, for each byte analysis, but also can display Chinese and English
- 2022-06-22 01:52:42下载
- 积分:1
-
服务器聊天应用程序.
服务器聊天应用程序.-Chat server applications.
- 2022-05-22 01:25:08下载
- 积分:1