Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - tcp socket server
Search - tcp socket server - List
DL : 0
提供了非阻塞的客户端和服务器端通信的实例程序。用linux下的C语言实现。-Provides a non-blocking client and server-side examples of communication procedures. Under linux using C language.
Date : 2025-12-31 Size : 10kb User : jidong

DL : 0
最简单的socket编程,server 和 client-The most simple socket programming, server and client
Date : 2025-12-31 Size : 1kb User : fcode

linux下的socket编程(服务端、客户端)-socket programming under linux (server, client)
Date : 2025-12-31 Size : 11kb User : xiaojin

Linux C Socket Client.c Server.c
Date : 2025-12-31 Size : 2kb User : hye

DL : 1
本软件采用Linux系统,以QT为开发语言,在实现了基本通信功能的基础之上,继续将软件进行交叉编译,并将其成功移植到ARM9开发板上。本软件没有服务器,只有单一的客户端,软件启动时通过使用UDP协议向255.255.255.255这个广播地址发送一个经过编码的广播包建立在线用户列表;本软件可以在XP系统、Ubuntu系统和ARM9开发板运行,使用了Tcp/Udp、Socket等技术;软件实现了基本的修改用户名、一对一聊天和文件的传输功能。 -The software deliberately adopted a Linux system to QT for the development of language, in the realization of the basic communication function basis, continue to cross-compile the software and successfully transplanted to the ARM9 development board. This software is not the server, only a single client, the software starts by using the UDP protocol to send to the broadcast address 255.255.255.255 that an encoded broadcast packets to establish a list of online users This software can be XP system, Ubuntu system and ARM9 development board run, using the Tcp/Udp, Socket and other technology software changes the basic user name, one to one chat and file transfer capabilities.
Date : 2025-12-31 Size : 137kb User : stone

magent 是一个简单,但非常有用的 memcached 缓存服务器的代理小程序。 主要功能: • 保持到memcached服务器的多个连接 • 支持下列memcached指令 1. get gets 2. delete 3. incr decr 4. add set replace prepend append 5. cas • 基于 libevent 的事件驱动库 • 支持 ketama 算法 • 服务器备份 • unix domain socket 命令行参数: -h this message -u uid -g gid -p port, default is 11211. (0 to disable tcp support) -s ip:port, set memcached server ip and port -b ip:port, set backup memcached server ip and port -l ip, local bind ip address, default is 0.0.0.0 -n number, set max connections, default is 4096 -D do not go to background -k use ketama key allocation algorithm -f file, unix socket path to listen on. default is off -i number, max keep alive connections for one memcached server, default is 20 -v verbose -magent is a simple, but very useful memcached caching proxy server applet. Main features: • to maintain multiple connections to the memcached server memcached • support the following instructions 1. Get gets 2. Delete 3. Incr decr 4. Add set replace prepend append 5. Cas • event-driven based on libevent library • support ketama algorithm • • unix domain socket server backup command-line arguments:-h this message-u uid-g gid-p port, default is 11211. (0 to disable tcp support)-s ip: port, set memcached server ip and port-b ip : port, set backup memcached server ip and port-l ip, local bind ip address, default is 0.0.0.0-n number, set max connections, default is 4096-D do not go to background-k use ketama key allocation algorithm- f file, unix socket path to listen on. default is off-i number, max keep alive connections for one memcached server, default is 20-v verbose
Date : 2025-12-31 Size : 17kb User : zzw

《Linux网络编程》内容简介:Linux是目前最流行的开源操作系统,网络功能在Linux下占有核心的地位。《Linux网络编程》循序渐进地从应用层到Linux内核、从基本知识点到综合案例,向读者介绍如何在Linux下进行网络程序设计。《Linux网络编程》内容分为4个部分:Linux程序设计基础部分、Linux用户空间网络编程部分、Linux内核网络编程部分以及综合案例部分。内容包含Linux系统概述、Linux编程环境、Linux文件系统简介、Linux下的进程和线程、TCP/IP协议族、应用层网络服务程序、TCP编程、主机信息获取、数据IO复用、UDP编程、高级套接字、套接字选项、原始套接字、服务器模型、IPv6、Linux内核网络部分结构及分布、netfilter框架内报文处理。为了方便读者学习,《Linux网络编程》最后一个部分介绍了3个综合案例,包括应用层的Web服务器例子、简单的应用层网络协议站例子和内核层网防火墙的例子。 -"Linux Network Programming" Introduction: Linux is the most popular open source operating systems, network functionality in Linux, occupies the core position. "Linux Network Programming" step by step from the application layer to the Linux kernel, the basic knowledge from the point to the integrated case, the readers how to network programming under Linux. "Linux Network Programming" is divided into four parts: Linux part of program design, Linux user space part of network programming, Linux kernel network programming and integrated case some part. Includes an overview of Linux system, Linux programming environment, Linux File System Introduction, Linux processes and threads under, TCP/IP protocol suite, application layer network services program, TCP programming, host information access, data IO Multiplexing, UDP programming, advanced socket, socket option, the original socket, server model, IPv6, Linux kernel network part of the structure and distribution, netfilter framework of mess
Date : 2025-12-31 Size : 1.65mb User : chinq

qt实现的多线程服务器和客户端,可以用来学习QT下的socket网络编程-qt multithreaded implementation of server and client can be used to study QT network programming socket under
Date : 2025-12-31 Size : 108kb User : yangming

在linux下实现简单的tcp通信,利用套接字实现的,分为客户端和服务器。-Be achieved in a simple linux tcp communication, the use of the socket implementation, divided into client and server.
Date : 2025-12-31 Size : 3kb User : 郑海燕

DL : 0
The subject of this programming assignment is writing a simple client-server application that uses (network) sockets.-The subject of this programming assignment is writing a simple client-server application that uses (network) sockets. The client-server application that you are to write is a server that can run arbitrary shell command lines on the (remote) server machine and return the output to the client. This lab is to be implemented in two separate files, to be named: (1) lab4-server.c and (2) lab4-client.c. Each file must be able to be compiled into an executable, which means they must contain a main, etc. The server program should not take any command line arguments. When run, it is to do the following: (1) create and set up a listening TCP socket (2) go into an infinite loop accepting connections from clients (3) for each connection, follow the remsh application protocol specified below, running each received shell command, and redirecting any output from the commands back to the client. Continue accepting commands from the client until the client closes the connection. The server
Date : 2025-12-31 Size : 5kb User : ChuChu

在Linux系统上完成一个文件传输协议(FTP)的简单实现。通过本实验,深入了解FTP协议的原理和协议细节,学会利用socket接口设计实现简单的应用层协议,掌握TCP/IP网络应用程序的基本设计方法和实现技巧。在Linux系统上使用socket接口实现FTP客户端程序,严格按照RFC959,使客户端可以连接至服务器,并且可以进行一些FTP的基本操作,如列出目录、下载文件等。从FTP协议的实现角度来看,客户端与服务器的命令通道和数据通道需要分离。-In the Linux system to complete a file transfer protocol (FTP) simple to achieve. Through this experiment, in-depth understanding of the principles of FTP protocol and protocol details, learn to use simple socket interface design application layer protocol, master TCP/IP network application design and implementation of basic skills. In the Linux system using the socket interface FTP client application, in strict accordance with RFC959, so that clients can connect to the server, and can do some basic FTP operations, such as listing directories, download files. FTP protocol implementation from the perspective of the client and the server' s command channel and data channels are separated.
Date : 2025-12-31 Size : 748kb User : gyh

linux下socket编程,实现tcp通信,这为服务端。-under linux socket programming, tcp communication, which for the server.
Date : 2025-12-31 Size : 1kb User : yupeixin

DL : 0
本文介绍了在Linux环境下的socket编程常用函数用法及socket编程的一般规则和客户/服务器模型的编程应注意的事项和常遇问题的解决方法,并举了具体代 码实例。要理解本文所谈的技术问题需要读者具有一定C语言的编程经验和TCP/IP方面的基本知识。要实习本文的示例,需要Linux下的gcc编译平台支持-This article describes the Linux environment, the use of socket programming and socket programming functions commonly used in the general rules and client/server programming model should pay attention and solution to the problem often encountered, both the specific code examples. To understand this article to talk about technical problems to the reader has some programming experience in C and TCP/IP basic knowledge. To practical examples in this article, you need the gcc compiler under Linux platform support
Date : 2025-12-31 Size : 16kb User : 王平

基于TCP和UDP协议的套接字网络编程。客服端采用套接字向服务器端请求连接,服务器端采用多路复用机制,等待客服端的请求-TCP and UDP socket-based network programming. Customer service end using socket connection request to the server-side and server-side multiplexing mechanism, waiting for the request of the customer service side
Date : 2025-12-31 Size : 4kb User : 刘龙庆

利用TCP/IP协议,使用socket编程模型和curses界面,实现基本聊天功能;分为服务器和客户端,服务器负责收发数据,以及对连接的客户端进行连接,客户端连接上服务器后就可以正常的通信。-Using TCP/IP protocol, the use of socket programming model and curses interface, to achieve the basic chat functions divided into server and client, server is responsible for sending and receiving data, and the connected clients to connect, the client can connect to the server after the normal communication.
Date : 2025-12-31 Size : 2kb User : 德良

Linux下网络编程、Socket使用、TCP Server、Client、ntp、fcntl范例程序-Linux Network Programming, Socket use, TCP Server, Client, ntp, fcntl sample program
Date : 2025-12-31 Size : 40kb User : sky

实现基于EPOLL的tcp服务端、客户端的封装。(EPOLL based implementation of TCP server, client package)
Date : 2025-12-31 Size : 4kb User : SGDFS

A<========>B<=========>C<=====>D<======>E A与B进程之间通过TCP的socket传递 主要掌握socket的流程: A服务器端: socket -->bind---->listen---->accept send read B客户端: socket-->connect->read send 不懂的可以man一下 man socket B与C使用共享内存来交互 步骤是:shmget->shmat->直接读写--->shmdt shmctl(删除) 可以man C与D之间使用消息传递进行 msgget-->msgrcv->msgsnd (注意这里的返回值判断发送正确与否 不是发送的字节数) D使用fork() 创建了一个进程 E D跟E之间使用无名管道进行交互 E程序中可以使用有名管道 进行通讯。(A<========>B<=========>C<=====>D<======>E Between the A and the B processes, the process of master socket is passed through the socket of the TCP: A server side: Socket -->bind---->listen---->accept send read B client: Socket-->connect->read send Do not understand the ability to man man socket B and C interact with shared memory The step is: shmget->shmat-> read and write --->shmdt shmctl directly (delete) Can man Message passing between C and D Msgget-->msgrcv->msgsnd (note that the return value here determines whether to send correctly or not the number of bytes sent) D uses fork () to create a process E Interaction between D and E using anonymous pipes E programs can communicate with famous pipes.)
Date : 2025-12-31 Size : 4kb User : 数据包
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.