Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - socket m
Search - socket m - List
一个简单的用java编写的聊天工具,用socket类处理通信部分 1. 运行server.bat 或在命令行下输入(要在工作目录): java -jar Chat.jar 8888 打开服务器 8888也可以改为任意端口号 2. 运行client.bat 或在命令行下输入(要在工作目录): java -jar Chat.jar 打开客户端 3. 主要类说明: Server.java 等待用户连接,连接后为当前用户创建ServerListener对象 ServerListener.java 接受用户请求,并将消息移入消息队列 Sender.java 消息发送器,用循环不断检查消息队列中是否有新消息,有则发送消息,被发送的消息移出队列 Client.java 接受信息,提供与界面之间的接口函数 Chat.java 主要是用户界面 -with a simple preparation of java chat tools, with socket type handling a part of communication. server.bat or running the command line input (to the Public for directory) : java-jar Chat.jar 8888 Open Server 8888 can also read arbitrary port 2 . client.bat or running the command line input (to the working directory) : java-jar Chat.jar Open Client 3. main categories : Server.java waiting for users to connect, after connecting to the current users to create object ServerListener ServerListener . java user request, the information will be relocated Message Queue Sender.java news transmitters, cyclic Message Queue constantly check whether there are new news, then send messages the news was sent out of Queue Client.java receive information, interface provides the interface between Chat.java m
Update : 2008-10-13 Size : 26.68kb Publisher : ZX

利用“原始套接字”(Raw Socket),我们可访问位于基层的传输协议。本章专门讲解如 何运用这种原始套接字,来模拟I P的一些实用工具,比如Tr a c e r o u t e和P i n g程序等等。使用原 始套接字,亦可对I P头信息进行实际的操作。本章只关心I P协议;至于如何针对其他协议使 用原始套接字,我们不打算提及。而且,大多数协议(除AT M以外)根本就不支持原始套接 字。所有原始套接字都是使用S O C K _ R AW这个套接字类型来创建的,而且目前只有Wi n s o c k 2提供了对它的支持。因此,无论Microsoft Windows CE 还是老版本的Windows 95 (无 Winsock 2升级)均不能利用原始套接字的能力。-use "raw socket" (Raw Socket), we can visit at the grassroots transmission agreements. This chapter specifically on how to use the original socket, I P to simulate some practical tools, For example Tr a c e r t o u e and P i n g procedures, and so on. Original socket, I can right the first P information of the actual operation. I only care about this chapter P Agreement; As to how the other agreements original socket, we do not intend to mention. Moreover, most agreements (except outside AT M) simply does not support the original socket. All original socket are using S O C K R AW _ the socket types to create, but it's only Wi n o c k 2 of the support it. Therefore, Whether Microsoft Windows CE or an older version of Windows 95 (non-Win sock escalation 2) are not using the ori
Update : 2008-10-13 Size : 676.12kb Publisher : 楼洛阳

一个简单的用java编写的聊天工具,用socket类处理通信部分 1. 运行server.bat 或在命令行下输入(要在工作目录): java -jar Chat.jar 8888 打开服务器 8888也可以改为任意端口号 2. 运行client.bat 或在命令行下输入(要在工作目录): java -jar Chat.jar 打开客户端 3. 主要类说明: Server.java 等待用户连接,连接后为当前用户创建ServerListener对象 ServerListener.java 接受用户请求,并将消息移入消息队列 Sender.java 消息发送器,用循环不断检查消息队列中是否有新消息,有则发送消息,被发送的消息移出队列 Client.java 接受信息,提供与界面之间的接口函数 Chat.java 主要是用户界面 -with a simple preparation of java chat tools, with socket type handling a part of communication. server.bat or running the command line input (to the Public for directory) : java-jar Chat.jar 8888 Open Server 8888 can also read arbitrary port 2 . client.bat or running the command line input (to the working directory) : java-jar Chat.jar Open Client 3. main categories : Server.java waiting for users to connect, after connecting to the current users to create object ServerListener ServerListener . java user request, the information will be relocated Message Queue Sender.java news transmitters, cyclic Message Queue constantly check whether there are new news, then send messages the news was sent out of Queue Client.java receive information, interface provides the interface between Chat.java m
Update : 2025-02-17 Size : 26kb Publisher : ZX

提供了一种简单的单向“进程间通信”(interprocess communication, I P C)机制。这个机制的名字非常古怪,叫作“邮槽”(M a i l s l o t)。用最简单的话来说,通过 邮槽,客户机进程可将消息传送或广播给一个或多个服务器进程。-provides a simple one-way "communication process" (interprocess commun ication, I P C) mechanisms. The name of this mechanism is very strange, called "Post Groove" (M.'s a i l l o t). With the most simple words, by mail chutes, and the client process can be transmitted or broadcast news to one or more server processes.
Update : 2025-02-17 Size : 377kb Publisher : 楼洛阳

“多播”亦称“多点传送”(M u l t i c a s t i n g),是一种让数据从一个成员送出,然后复制给其 他多个成员的技术-"multicast" also known as "multicast" (M u l t i c a s t i n g), is a way to let members of data from a given, and then copied to a number of other members of the technology
Update : 2025-02-17 Size : 831kb Publisher : 楼洛阳

利用“原始套接字”(Raw Socket),我们可访问位于基层的传输协议。本章专门讲解如 何运用这种原始套接字,来模拟I P的一些实用工具,比如Tr a c e r o u t e和P i n g程序等等。使用原 始套接字,亦可对I P头信息进行实际的操作。本章只关心I P协议;至于如何针对其他协议使 用原始套接字,我们不打算提及。而且,大多数协议(除AT M以外)根本就不支持原始套接 字。所有原始套接字都是使用S O C K _ R AW这个套接字类型来创建的,而且目前只有Wi n s o c k 2提供了对它的支持。因此,无论Microsoft Windows CE 还是老版本的Windows 95 (无 Winsock 2升级)均不能利用原始套接字的能力。-use "raw socket" (Raw Socket), we can visit at the grassroots transmission agreements. This chapter specifically on how to use the original socket, I P to simulate some practical tools, For example Tr a c e r t o u e and P i n g procedures, and so on. Original socket, I can right the first P information of the actual operation. I only care about this chapter P Agreement; As to how the other agreements original socket, we do not intend to mention. Moreover, most agreements (except outside AT M) simply does not support the original socket. All original socket are using S O C K R AW _ the socket types to create, but it's only Wi n o c k 2 of the support it. Therefore, Whether Microsoft Windows CE or an older version of Windows 95 (non-Win sock escalation 2) are not using the ori
Update : 2025-02-17 Size : 676kb Publisher : 楼洛阳

mfc套接字编程,包括无连接的通信,有连接的通信,阻塞和非阻塞模式-mfc socket programming, including non-connected communications, has connected communications, obstructive and non-blocking mode
Update : 2025-02-17 Size : 7.16mb Publisher : 刘秋菊

socket udp 编程MFC小例子,可直接参考-socket udp small MFC programming examples, reference can be directly
Update : 2025-02-17 Size : 31kb Publisher :

介绍 802.3 以及各种 网络的帧格式及一些原理-802.3, as well as introduce a variety of network frame format and some of the principles of
Update : 2025-02-17 Size : 224kb Publisher : allen_wu

DL : 0
windows socket 编程,非常好用,新手入门-windows socket programming, very easy to use, beginners learn the
Update : 2025-02-17 Size : 4.31mb Publisher : guomin

DL : 0
mtk 平台的 socket 文档,希望对有需要的朋友有用-MTK socket platform document, in the hope that there is a need friends useful
Update : 2025-02-17 Size : 368kb Publisher : 45646546

delphi中的SOCKET使用的简单程序-delphi in SOCKET easy to use program
Update : 2025-02-17 Size : 435kb Publisher : yyh

基于mfc的,实现简单的socket通信-Mfc-based, and easy implementation of the socket communication
Update : 2025-02-17 Size : 4.89mb Publisher : yuanyuan

在linux下,c语言编写,可以根据对方的IP,查看其MAC地址,也可以扫描局域网在线IP的MAC和主机名。原理:建立socket ,构造netbios-ns包,循环sendto()把数据发送给对方并recvfrom()读取返回信息。根据返回的netbios回应包,读取对方的主机名,组名和mac地址。 显示结果如下: IP: 192.168.116.124 Host Name: BRN_8EEE6A/BRN_8EEE6A MAC: 00-80-77-8E-EE-6A IP: 192.168.116.130 Host Name: XIAOXIAO/MSHOME MAC: 00-12-3F-D5-5E-A6 IP: 192.168.116.131 Host Name: NA MAC: NA [time out!] 一个网段扫描MAC,可以建立一个socket,连续向多个不同IP发送NBNS包,然后等待接受,根据返回包就可以扫描一个网段多个IP的MAC啦。 而windows下可以运行命令:nbtstat -A ip-address来查看 windows c 要改改头文件 -C language, based on each other s IP, to see its MAC address, can also scann more online IP-LAN MAC and host name. Principle: To establish a socket, constructed netbios-ns package, cycle to use sendto () function sent the data to the other side , and use recvfrom () to read back-information. Netbios respond in accordance with the return package, read each other s host name, group name and mac address.
Update : 2025-02-17 Size : 14kb Publisher : darinwang

linux下多线程网络应用实例,很实用的哦。-linux network under the multi-threaded application examples, it is useful oh.
Update : 2025-02-17 Size : 129kb Publisher : Tanker

DL : 0
MTK 平台软件简介 主要介绍了event事件,history机制,socket分析,task分析,timer总结,内存管理简介。-About MTK platform software introduces the event event, history mechanisms, socket analysis, task analysis, timer summary, memory management profile.
Update : 2025-02-17 Size : 42kb Publisher : daizhixin

该程序调用java在matlab中实现套接字通信。-The program calls the java implementation in matlab socket communication.
Update : 2025-02-17 Size : 8kb Publisher : 杨一

mfc网络编程源码,可实现网络send resv-m f c s o c k e t
Update : 2025-02-17 Size : 129kb Publisher : liu

/.m>,,?, ;kljbgjhgvkjhjj;k';klkm'lj
Update : 2025-02-17 Size : 3.56mb Publisher : divz

Socket io 相關程式碼 可以任意使用(CNN operates as a division of Turner Broadcasting System, which is a subsidiary of Time Warner. CNN identifies itself as -- and is widely known to be - the m...)
Update : 2025-02-17 Size : 66kb Publisher : hadi123
« 12 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.