Linux 网络编程
Linux 网络编程
ton_tom
柯镇恶的师弟理所当然不可不戒
展开
-
linux 端的局域网 ettercap 抓包实验
ettercap 安装zypper addrepo https://download.opensuse.org/repositories/home:bastianfriedrich/openSUSE_Leap_15.3/home:bastianfriedrich.repozypper refreshzypper install ettercapwireshark 安装zypper install wireshark#运行Couldn’t run /usr/sbin/dumpcap in ch原创 2022-04-05 01:25:45 · 1505 阅读 · 0 评论 -
qt udp 通信
#include<cstdio>#include<cstdlib>#include<string>#include<WinSock2.h>#include <unistd.h>#define BUF_SIZE 30void ErrorHandling(char const *message);int main(int argc, char *argv[]) { WSADATA wsaData; SOCKET serv原创 2021-10-06 00:02:17 · 121 阅读 · 0 评论 -
socket 局域网不同主机间通信实验
cmake_minimum_required(VERSION 3.17)project(server)set(CMAKE_CXX_STANDARD 14)set(CMAKE_BUILD_TYPE Debug)set(Srcs hello_server_win.c.cpp )set(Hdrs )link_libraries (ws2_32)add_executable(${PROJECT_NAME} ${Srcs} ${Hdrs})// he...原创 2021-10-05 07:06:09 · 668 阅读 · 0 评论 -
网络基础
UDP:用户数据报协议TCP:传输控制协议SCTP:流控制传输协议原创 2021-04-21 06:46:53 · 77 阅读 · 0 评论