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平台的TCP/IP通讯程序-This is a cross- linux, windows platform TCP/IP communication procedures Platform: |
Size: 351232 |
Author:ly |
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: 为了实现WINDOWS与LINUX的串口通讯,利用Csocket实现的一个小型数据交换软件,对学习Csocket类编程很有启发作用。-in order to achieve the Windows and LINUX serial communications, Csocket achieved using a small data exchange software. Csocket type of learning program is very enlightening role. Platform: |
Size: 18432 |
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: 利用Windows Socket编写的模拟Ftp的简单文件传输程序,支持windows和linux-The use of Windows Socket prepared a simple simulation Ftp file transfer procedures, support for windows and linux Platform: |
Size: 67584 |
Author:krrrr |
Hits:
Description: 本文件介绍了一个TCP/IP的功能,设计要点,本协议栈实现的组件包括ARP,I CMP(PING),UDP,TCP。并设计了一个与SOCKET API兼容的标准接口。
TCP/IP协议栈背景
TCP/IP是使用最为广泛的INTERNET通信协议,几乎所有的桌面操作系统如Windows,Redhat Linux都支持TCP/IP协议。为了实现嵌入式系统与PC机的组网通信,就必须在嵌入式系统上实现复杂的TCP/IP协议栈,通过实现了TCP/IP协议栈,就可以方便的实现嵌入式系统与主流桌面操作系统的通信和资源共享,这也是作者编写TCP/IP协议栈的由衷。
-Introduction This document is a TCP/IP functionality, design elements, realize the protocol stack components including ARP, I CMP (PING), UDP, TCP. And designed a SOCKET API-compatible with standard interfaces. TCP/IP protocol stack background TCP/IP is the most widely used communication protocol INTERNET, almost all of the desktop operating system such as Windows, Redhat Linux support TCP/IP protocol. In order to realize embedded systems and PC-letter Netcom Group, we must realize the complexity of embedded system on the TCP/IP protocol stack, through the realization of the TCP/IP protocol stack, we can facilitate the realization of embedded systems with mainstream desktop operating system of communication and resource sharing, this is also author of the preparation of TCP/IP protocol stack heartfelt. Platform: |
Size: 15360 |
Author:6756 |
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: