登录
首页 » linux » 简单socket代理

简单socket代理

于 2023-04-30 发布 文件大小:8.04 kB
0 152
下载积分: 2 下载次数: 1

代码说明:

这是一个简单的socket代理程序,作为初学者可以从这个程序入门,看看如何写socket程序。 This is an simple exmaple of socket programing, it is suitable for a new learner to start with.

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

发表评论

0 个回复

  • Linux 进程线程控制
    首先,父进程执行fork()函数创建子进程,在子进程中实现两个文件的建立,父进程等待子进程执行完后,通过pthread_create()创建两个线程threads0、threads1。然后由两个线程分别统计两个文件中的字符数,处理完成后分别调用pthread_exit()函数退出。父进程等待线程退出后打印出总字符数total。父进程调用vfork()函数创建子进程,使用execl()函数调用程序change,将两个文件中的小写字母转换成大写字母,执行完成后exit()退出。父进程等待整个过程执行完之后,exit(0)退出。
    2022-01-25 20:01:06下载
    积分:1
  • timerr
    定时器LINUX上的实现,用系统滴答数计算(timer on the realization of systems tick calculation)
    2007-03-23 16:42:32下载
    积分:1
  • 目前的流媒体服务器代码有Darwin(苹果公司),是用c++开发的,过于复杂不适合用在嵌入式设备上,live555是c开发的但是只支持mpeg格式的音频,Fen...
    目前的流媒体服务器代码有Darwin(苹果公司),是用c++开发的,过于复杂不适合用在嵌入式设备上,live555是c开发的但是只支持mpeg格式的音频,Feng 流媒体服务器支持h.264格式的视频,mp3音频,支持RTSP,RTP/RTCP,可以用来在嵌入式设备上开发流媒体服务器.-current streaming media server code Darwin (Apple), is the development of the c, too complex not suitable for use in embedded equipment. live555 c is the development but only to support the mpeg audio format, Feng streaming media server support h.264 video format, mp3 audio support RTSP, RTP/RTCP, can be used in embedded devices developed streaming media server.
    2022-01-27 15:15:30下载
    积分:1
  • 基于Linux的局域网聊天软件
    这款软件是在Linux系统环境下编写、测试、运行的,主要功能用单聊、群聊、发送文件等。这款软件有客服端与服务器,服务器管理用户的注册与登录。客服端可以查看在线用户,可以向指定在线用户发送消息或文件。
    2022-08-08 17:51:51下载
    积分:1
  • VC_handWriting
    vc模仿手写字的源码,可以实现模仿手写字的功能(vc imitate handwritten characters of source code, can be achieved to imitate the function of handwritten characters)
    2006-09-29 22:38:47下载
    积分:1
  • 模拟器有三个过程:主,M0、M1、所有的运行
    The simulator has three processes: main, M0, and M1, all of which run * independently. Set them all up first. Once set up, main maintains the * clock (tick), and picks a process to run. Then it writes a 32-bit word * to that process to tell it to run. The process sends back an answer * when it is done. Main then picks another process, and the cycle repeats. */-The simulator has three processes: main, M0, and M1, all of which run * independently. Set them all up first. Once set up, main maintains the * clock (tick), and picks a process to run. Then it writes a 32-bit word * to that process to tell it to run. The process sends back an answer * when it is done. Main then picks another process, and the cycle repeats. */
    2022-01-21 03:08:13下载
    积分:1
  • Qt5
    Qt5的一个使用示例,包括代码,使用于初学者,用Qt5建立简单的一个计算器界面操作(An simple example of Qt5 for beginners)
    2013-01-23 09:44:35下载
    积分:1
  • CPU_Mem_UsageRate_Calculator for Linux CodeBlocks开发
    用于统计Linux下CPU与内存消耗的一个小的console工具,后期可以进一步二次开发.开发工具为Codeblocks,工程就包含在其中,在CentOS6.5下编译通过,可以直接运行.
    2022-06-28 17:23:27下载
    积分:1
  • Linux下关于DE2i-150板示例程序
    此文件夹包含关于友晶科技联合altera开发的DE2i-150板的基于Linux下的示例程序和相关说明文档,具体包括FPGA端的示例代码,和ATOM端的PCIe驱动程序,上层应用程序,玩转DE2i-150板!
    2022-10-30 21:20:08下载
    积分:1
  • atp870u
    atp885 support Source Code for Linux.
    2014-08-09 10:30:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载