Description: 跨平台的最轻量级socket的c++库,支持windows,linux,solaris-cross-platform of the most lightweight c socket library, support for Windows, Linux, Solaris Platform: |
Size: 29012 |
Author:包慧明 |
Hits:
Description: Windows Linux socket 通讯,可用于嵌入式控制通讯,linux server 为C 有原码,Windows 为C++ MFC图行窗口输入.-Windows Linux socket communication, can be used in the embedded control communications, Linux server for C have the original code, Windows for C++ MFC diagram line window input. Platform: |
Size: 135040 |
Author:schebo.2008@163.com |
Hits:
Description: 跨平台的最轻量级socket的c++库,支持windows,linux,solaris-cross-platform of the most lightweight c socket library, support for Windows, Linux, Solaris Platform: |
Size: 28672 |
Author:包慧明 |
Hits:
Description: 嵌入式linux编程实现windows监控嵌入式设备的心跳检测-Embedded Linux Programming windows embedded control the heartbeat detection equipment Platform: |
Size: 144384 |
Author:zzf |
Hits:
Description: 一个关于Socket编程,适用于windows及linux环境。-one of Socket Programming apply to windows and linux environment. Platform: |
Size: 3072 |
Author:阿旭 |
Hits:
Description: linux下用C编写的服务器端和在WINDOWS下用VC写的客户端之间的网络通信程序-under linux prepared by the C-terminal server and Windows using VC written between the client Network Communication Program Platform: |
Size: 1971200 |
Author:黄文 |
Hits:
Description: linux socket和winsock结合使用。linux作为服务器,windows来访问。简单测试小程序-linux socket and winsock combination. linux as a server, windows to access. Simple test applet Platform: |
Size: 7168 |
Author:王立东 |
Hits:
Description: 使用VC写的关于windows和linux之间利用套接字实现通讯的源代码-VC wrote on the use of windows and linux use socket to achieve communication between the source code Platform: |
Size: 80896 |
Author:李正 |
Hits:
Description: windows 与linux下的socket编程,实现客户端与服务器端的通信-linux under windows with socket programming, to achieve client and server-side communications Platform: |
Size: 33792 |
Author:spring |
Hits:
Description: 在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. Platform: |
Size: 14336 |
Author:darinwang |
Hits:
Description: socket 分别以tcp,udp两种方式通信的代码。
同一套代码,依靠不同的makefile文件,分别编译出在windows环境、linux环境、Android环境下的执行文件。-socket respectively tcp, udp communication code in two ways. The same set of code, relying on a different makefile files, respectively, lies in the windows environment to compile, linux environment, Android environment execute the file. Platform: |
Size: 4096 |
Author:孙涛 |
Hits:
Description: This a example for socket in linux or windows-This is a example for socket in linux or windows Platform: |
Size: 7778304 |
Author:melxhme |
Hits:
Description: linux端获取系统CPU、硬盘。内存使用率,通过客户端socket传给windows服务端。-linux-side access to the system CPU, hard drive. Memory usage, the client socket to pass through the windows server. Platform: |
Size: 1024 |
Author:王健 |
Hits:
Description: Windows Linux socket 通讯,可用于嵌入式控制通讯,linux server 为C 有原码,Windows 为C++ MFC图行窗口输入.-Windows Linux socket communication, can be used in the embedded control communications, Linux server for C have the original code, Windows for C++ MFC diagram line window input.
Platform: |
Size: 135168 |
Author:zhongyin |
Hits:
Description: 该代码在Linux实现了一个类似于windows上的QQ的聊天工具。主要是基于TCP/IP协议的socket通信。包括服务器端和客户端两部分,其中客户端使用了select的IO多路复用技术,服务器端由于要监听多个客户端,因此使用了epoll的IO多路复用技术。整个项目目前可以实现的功能有用户的注册与登录,添加好友,发送聊天消息,发送与接收文件等。(The code implements a chat tool similar to windows on QQ in Linux. Socket communication is mainly based on TCP/IP protocol. Including server and client two parts, in which the client uses the select IO multiplexing technology, the server side to monitor a number of clients, so the use of epoll IO multiplexing technology. The functions of the whole project can be registered and logged by users, add friends, send chat messages, send and receive files, etc..) Platform: |
Size: 41984 |
Author:零下10度C
|
Hits: