登录
首页 » Linux编程 » 【Linux c】socket 简单通信,有gtk界面

【Linux c】socket 简单通信,有gtk界面

于 2022-12-27 发布 文件大小:19.35 kB
0 137
下载积分: 2 下载次数: 1

代码说明:

简单的socket通信,使用gtk做了个界面 运行环境:CentOS 6.0 32位系统   其中window client 标签错了,应为 show from server

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 基于osip和eXosip客户端和服务器端序实例
    源码有sipserver.c,sipclient.c和compile.sh,适合于初学者了解osip和eXosip的交互流程,程序简单且结构清晰。
    2022-10-17 02:45:03下载
    积分:1
  • 通信代码(点对点_点对多_同步_异步_UDP_TCP)
    C_完整的通信代码(点对点_点对多_同步_异步_UDP_TCP) C# codeusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Net.Sockets;namespace UDPClient{    class Program    {        static void Main(string[] args)        {            byte[] data = new byte[1024];            string input ,stringData;            //构建TCP 服务器            Console.WriteLine("This is a Client, host name is {0}", Dns.GetHostName());            //设置服务IP,设置TCP端口号   
    2022-10-24 01:50:04下载
    积分:1
  • 视频采集播放
    利用Qt Creator进行编写GUI,采用标准的V4L2接口进行视频的采集,视频采集过程利用多线程的方式去实现,然后利用标签去实现视频的播放
    2022-02-07 15:57:44下载
    积分:1
  • A SECURE AODV PROTOCOL FOR SPONTANEOUS WIRELESS ADHOC NETWORK CREATION
    一种用于自发无线adhoc网络的安全协议,它使用混合对称/对称方案和用户之间的信任来交换初始数据并交换将用于加密数据的密钥。信任是基于用户之间的第一次视觉接触。我们的建议是一个完整的自我配置的安全协议,能够创建网络和共享安全服务,而无需任何基础设施。网络允许在安全的环境中在用户之间共享资源和提供新的服务。该协议包括在没有任何外部干扰的情况下运行所需的所有功能
    2022-02-06 02:45:22下载
    积分:1
  • Batería Dell Precision M6700
    2022-10-18 03:50:06下载
    积分:1
  • 飞鸽传书
    飞鸽传书,linux环境下用C++编写的,亲测好用,完全开源。推荐推荐。是qipmsg-1.0.0版本,     GNU GENERAL PUBLIC LICENSE       Version 2, June 1991  Copyright (C) 1989, 1991 Free Software Foundation, Inc.,  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA  Everyone is permitted to copy and distribute verbatim copies  of this license document, but changing it is not allowed. &nbs
    2022-04-26 12:21:21下载
    积分:1
  • 打印进
    利用两种编程方法实现linux进程树的打印 基于用户空间:通过访问/proc 里面的含有进程号的文件夹,获取进程的信息,每个文 件夹中都含有一个 status,通过 scanndir 获取其中的 pid,ppid 以及
    2022-01-28 02:38:57下载
    积分:1
  • Linux下的聊天室
    应用背景 This is the server and client code in C for a simple chat program for multiple client communication. This repository contains code for a very simple chat program implemented on the linux system, using base system libraries and the C programming language. The program consists of two major components, the first being the server program and the second is the Client program. 关键技术 The server program maintains a list of clients and also a queue of client messages. It uses semaphores to make sure synchronisation errors do not occur. The server program accepts one optional input argument – listen_port_number. If this argument is missed, the server will use the default port number 3500 (defined in the provided header file chat_server.h). Once it starts, it runs forever. To ter
    2023-07-14 01:50:03下载
    积分:1
  • android的经典实例
    android经典实例,帮助学习android入门的同学。
    2022-05-24 19:06:23下载
    积分:1
  • 5 个节点创建 CBR 连接
    这个程序包含 5 个节点创建连接,并提供连接在 CBR (恒定比特率) 无线传感器网络中
    2023-07-23 17:05:03下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载