当前位置:网站首页>Raw advanced socket experiment
Raw advanced socket experiment
2022-07-29 06:33:00 【qq_ forty-six million four hundred and seventy-five thousand on】
- Brief experimental steps :
1) Open the terminal to compile tcp_server.c,tcp_client.c Generate the corresponding executable file tcp_server,tcp_client.
2) Open the terminal compilation separately raw.c Generate executable files raw.
3) Run the executable raw.
4) Run the executable files separately in other terminals tcp_server,tcp_client.
5) Client input information , The server receives and returns to the client , At this time, a packet is generated , stay raw Terminal generates data .
raw.c The code is as follows :
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
边栏推荐
- 关于DDoS的几个误区
- THINKPHP5 常见问题
- Software testing career development: where should software testers go
- 虹科Automation softPLC | 虹科KPA MoDK运行环境与搭建步骤(3)——MoDK例程测试
- [leetcode skimming] array 2 - binary search
- Leetcode notes 605. can place flowers (easy) 605. planting flowers
- Vivado IP核之浮点数加减法 Floating-point
- Unity中简单的cubecap+fresnel shader的实现
- day14_ Unit test & Date common class & String common class
- day06_类与对象
猜你喜欢
随机推荐
虹科 | 使用JESD204串行接口高速桥接模拟和数字世界
Unity初学3——敌人的移动控制和掉血区域的设置(2d)
虹科Automation softPLC | MoDK运行环境与搭建步骤(1)——运行环境简介
多路IO用法
EtherCAT主站掉线后,如何保证目标系统免受故障影响?
Scanbasepackages scanning range configuration
黑客攻击入侵服务器的6种常见方式
软件测试职业发展:软件测试人员该何去何从
盘点 | 全球关键信息基础设施网络安全大事件
day14_ Unit test & Date common class & String common class
网站服务器80,443端口一直被恶意攻击怎么办?
虹科分享 | 为什么说EtherCAT是提高控制系统性能的最佳解决方案?
Sliding window leetcode 76. minimum covering substring (hard) 76.76. minimumwindow substring (hard)
Software testing career development: where should software testers go
官方教程 Redshift 01 基础理论知识和基础特性学习
DDoS详解
什么是撞库及撞库攻击的基本原理
What are the advantages of software testing? See how much you know
虹科分享 | 带你全面了解“CAN总线错误”(四)——在实践中生产和记录CAN错误
用神经网络实现手写数字识别








