Location:
Search - recvfrom
Search list
Description: 创建原始套接字,构造ICMP协议ECHO数据头,发送数据sendto 接收数据recvfrom,分析返回IP数据头及ICMP数据头 程序代码极其简单,适合初学网络编程者参考- Founds the primitive sleeve joint character, structure ICMP the
agreement ECHO data head, transmits data sendto receive data recvfrom,
the analysis returns to the IP data and the ICMP data procedure code
is extremely simple, suitablly begins studies the network programming
reference
Platform: |
Size: 4118 |
Author: 唐富华 |
Hits:
Description: 建立接收socket,将socket和指定的端口绑定
2、创建接收线程,在线程中调用ioctlsocket()判断是否接收到数据,接收到数据时调用OnReceive()(类似CSocket中的OnReceive())
3、在OnReceive中申请空间调用recvfrom接收数据
4、建立发送socket,和INADDR_ANY绑定
5、调用sendto发送数据
-establishment receiving socket, the socket and designated ports bundled with two to create receive threads, Calling the threads ioctlsocket () to decide whether or not to receive data, to receive information call OnReceive () (similar to the OnReceive CSocket ()) 3, in which the application of space OnReceive call recvfrom four receive data, the establishment of this socket, and INADDR_ANY bundled 5, call sendto send data
Platform: |
Size: 8290 |
Author: 朱江涛 |
Hits:
Description: 这里是使用说明:
V1.1版修正了二次释放窗口会出错的问题。
运行主程序,先点“开始钩挂”然后在要抓包的游戏或者程序里面按小键盘的星号键呼叫。
然后点“开始”,就可以抓包了,点“停止”是停止抓包,回到游戏点“关闭本窗口”,
在在上面的筐筐里面可以写上保存的文件名,一般是TXT文件,要打完整的路径和名字
否则出错,退出前一定要点“释放本窗口”,不然会出错,然后再点“撤消钩挂”。
再有就是有些游戏会无发呼叫本窗口。
本程序源代码BCB 5.0通过。只用在NT,2000,XP
本程序只钩挂了\"send\",\"sendto\",\"recv\",\"recvfrom\"这4个函数,WSAsend等不钩挂,
因为是用API钩子写的抓包程序,而且小弟也是菜鸟,难免有BUG。源代码可以任意修改和发布。
你改得好的话请给我一份。小弟感激不尽。
Platform: |
Size: 281316 |
Author: fdsfsdf |
Hits:
Description: 用VC 写的一个钩子程序,有可视话界面.可以给windows任务管理器下的进程挂钩,比如QQ.对ws_2.dll的send sendto,recv,recvfrom进行了挂钩,可以截获这些内容
Platform: |
Size: 38389 |
Author: linqj |
Hits:
Description: 面向连接的服务器流程中,必须设置服务器套接字为监听状态;而客户机则是主动连接。无连接客户机和服务器。无连接客户机和服务器在调用的函数方面没有区别,区别在于服务器一般先启动recvfrom等待客户机的数据。客户机和服务器的通信过程为客户向服务器发送数据,服务器收到数据后给予应答,通信结束。-connection-oriented server process, you must set up to monitor server socket state; While the client is active connector. Without connecting client and server. Without connecting client and server in a function called no distinction, the general difference is the server for first launching recvfrom client data. Client and server communication process for clients to send data to the server, the server data received responses and communication end.
Platform: |
Size: 24121 |
Author: 问题 |
Hits:
Description: 创建原始套接字,构造ICMP协议ECHO数据头,发送数据sendto 接收数据recvfrom,分析返回IP数据头及ICMP数据头 程序代码极其简单,适合初学网络编程者参考- Founds the primitive sleeve joint character, structure ICMP the
agreement ECHO data head, transmits data sendto receive data recvfrom,
the analysis returns to the IP data and the ICMP data procedure code
is extremely simple, suitablly begins studies the network programming
reference
Platform: |
Size: 4096 |
Author: 唐富华 |
Hits:
Description: 面向连接的服务器流程中,必须设置服务器套接字为监听状态;而客户机则是主动连接。无连接客户机和服务器。无连接客户机和服务器在调用的函数方面没有区别,区别在于服务器一般先启动recvfrom等待客户机的数据。客户机和服务器的通信过程为客户向服务器发送数据,服务器收到数据后给予应答,通信结束。-connection-oriented server process, you must set up to monitor server socket state; While the client is active connector. Without connecting client and server. Without connecting client and server in a function called no distinction, the general difference is the server for first launching recvfrom client data. Client and server communication process for clients to send data to the server, the server data received responses and communication end.
Platform: |
Size: 23552 |
Author: 问题 |
Hits:
Description: 建立接收socket,将socket和指定的端口绑定
2、创建接收线程,在线程中调用ioctlsocket()判断是否接收到数据,接收到数据时调用OnReceive()(类似CSocket中的OnReceive())
3、在OnReceive中申请空间调用recvfrom接收数据
4、建立发送socket,和INADDR_ANY绑定
5、调用sendto发送数据
-establishment receiving socket, the socket and designated ports bundled with two to create receive threads, Calling the threads ioctlsocket () to decide whether or not to receive data, to receive information call OnReceive () (similar to the OnReceive CSocket ()) 3, in which the application of space OnReceive call recvfrom four receive data, the establishment of this socket, and INADDR_ANY bundled 5, call sendto send data
Platform: |
Size: 8192 |
Author: 朱江涛 |
Hits:
Description: 这里是使用说明:
V1.1版修正了二次释放窗口会出错的问题。
运行主程序,先点“开始钩挂”然后在要抓包的游戏或者程序里面按小键盘的星号键呼叫。
然后点“开始”,就可以抓包了,点“停止”是停止抓包,回到游戏点“关闭本窗口”,
在在上面的筐筐里面可以写上保存的文件名,一般是TXT文件,要打完整的路径和名字
否则出错,退出前一定要点“释放本窗口”,不然会出错,然后再点“撤消钩挂”。
再有就是有些游戏会无发呼叫本窗口。
本程序源代码BCB 5.0通过。只用在NT,2000,XP
本程序只钩挂了"send","sendto","recv","recvfrom"这4个函数,WSAsend等不钩挂,
因为是用API钩子写的抓包程序,而且小弟也是菜鸟,难免有BUG。源代码可以任意修改和发布。
你改得好的话请给我一份。小弟感激不尽。
Platform: |
Size: 280576 |
Author: fdsfsdf |
Hits:
Description: 用VC 写的一个钩子程序,有可视话界面.可以给windows任务管理器下的进程挂钩,比如QQ.对ws_2.dll的send sendto,recv,recvfrom进行了挂钩,可以截获这些内容-Using VC to write a hook procedure, if there are visual interface. Can give windows task manager process under the link, such as QQ. On ws_2.dll the send sendto, recv, recvfrom were linked, the content can be intercepted
Platform: |
Size: 37888 |
Author: linqj |
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: api函数recvfrom()的拦截代码,在以前拦截的recv函数基础上拓展而来,追加调用部分代码。
具体功能:拦截api函数recvfrom。-api function recvfrom () to intercept the code block in the past based on the recv function to expand from an additional part of the code call. Specific functions: intercept api function recvfrom.
Platform: |
Size: 202752 |
Author: canglang |
Hits:
Description: 主要有调整的处理接口TCP组的有 send WSASend UDP组的是 sendto recvfrom WSASendto WSARecvfrom
下面的这四个发出封包接口参数二,封包地址,数据类型为整数型,1.8版模块需要选中参考项,原1.5版无需选参考
send WSASend sendto WSASendto
修改了参数二为参考后,当需要修改封包时,直接把新封包的内存地址赋值为该参数即可,居体操作代码见 mydll.e
只所以这么改是为了避免有时拦到的封包长度短,而要修改进去的封包长度超过了他的可写内存字节数时会产生的内存非法操作
UDP这组的四个接口的参数四,网络地址,数据类型在1.8版模块里需要改为文本型,原1.5版的是整数型
sendto recvfrom WSASendto WSARecvfrom
对于这四个接口的参数四改为文本型后如何操作,可以见1.8版的 取TCP重定向演示程序里的代码。
因为修改这个网络地址的参数为文本型,所以可以直接以文本型读取或赋值修改进去。-ssssssssssssssss
Platform: |
Size: 58368 |
Author: 三大殿 |
Hits:
Description: UDP网络传输动态连接库,一个项目中使用的网络接口,封装Windows Sockets API为UDP数据报传输类。而不是对整个Sockets API进行封装,只是对socket(), bind(), sendto(), recvfrom()等常用的方法对行了封装,方便UDP网络传输。-UDP network transport dynamic link library, a project to use the network interface, package, Windows Sockets API for UDP datagrams transmission class. Rather than the Sockets API for the entire package, just right socket (), bind (), sendto (), recvfrom () and other commonly used methods of packaging lines to facilitate the UDP network transmission.
Platform: |
Size: 263168 |
Author: yuwei |
Hits:
Description: 绿光抓包器.本程序只钩挂了"send","sendto","recv","recvfrom"这4个函数,WSAsend等不钩挂,
因为是用API钩子写的抓包程序,而且小弟也是菜鸟,难免有BUG。源代码可以任意修改和发布。
你改得好的话请给我一份。小弟感激不尽。-Ethereal green device. This procedure is only hook the " send" , " sendto" , " recv" , " recvfrom" the four functions, WSAsend, which do not hook because it is written with the API hooks Ethereal procedures, but younger brother is also a rookie, it is inevitable that BUG. The source code can be modified and published. Well, if you have changed Please give me a copy. Brother grateful.
Platform: |
Size: 563200 |
Author: 334 |
Hits:
Description: 绿光抓包器
本程序源代码BCB 5.0通过。
本程序只钩挂了"send","sendto","recv","recvfrom"这4个函数,WSAsend等不钩挂,
因为是用API钩子写的抓包程序,而且小弟也是菜鸟,难免有BUG。源代码可以任意修改和发布。-Green Packetcapture source code of this program by BCB 5.0. This procedure only hook the " send" , " sendto" , " recv" , " recvfrom" This four functions, WSAsend no hook, etc., as is written in capturing Packet API hook procedures, but little brother is also a rookie, inevitably BUG. Source code can be modified and released.
Platform: |
Size: 233472 |
Author: 双方的 |
Hits:
Description: UDP实现的简易通讯程序
用sendto(),recvfrom()函数实现客户机与服务器之间的信息交换。-port scan
Platform: |
Size: 2048 |
Author: 梁栋 |
Hits:
Description: Ping 程序实例 原始套接字sendto recvfrom
icmp-Ping instances raw socket sendto recvfrom icmp
Platform: |
Size: 3072 |
Author: carry |
Hits:
Description: test_seclect noblock tcp recvfrom 非组塞的tcp 用recvfrom 来接收数据的例子-test_seclect noblock tcp recvfrom the nonhistone plug of tcp recvfrom to receive the data example
Platform: |
Size: 40960 |
Author: 刘明 |
Hits:
Description: windows网络编程recvfrom源码实例-windows network programming source code examples recvfrom
Platform: |
Size: 7490560 |
Author: 左昱 |
Hits: