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: 一个关于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: 接收tcp消息的类。tcp是一个流的概念,你可能一次read调用读到两条半消息,再接着一次read调用读到半条消息。这个tcpbuf的类就是用来帮助处理这种情况。它会分3次返回3条消息。很实用的类。Windows/Linux都能用。-class tcpbuf is to help receiving tcp message from a socket. It will return exactly ONE message from the tcp buffer. Support windows/linux. Platform: |
Size: 7168 |
Author:ttww2000 |
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: ? 编写两个进程,一进程负责发送字符 串,另一进程负责接收字符串;
? 支持Windows/linux的的共享存储区、消息、有名和无名管道、Socket通信
? 发送进程应可以从窗口或键盘上接收字符串;
? 接收进程应可将字符串显示在窗口上;
-? preparation of two processes, a process responsible for sending a string, another process is responsible for receiving the string ? Support Windows/linux' s shared memory, message, named and unnamed pipes, Socket Communications ? sending process should be available from the window or the keyboard received on a string ? receiving process should be the string displayed in the window Platform: |
Size: 119808 |
Author:陈明 |
Hits: