linux socket api

unix / linux socket API reference_1

accept (to accept socket connection) Correlation function socket, bind, listen, connect Header file # include <sys/types.h> # Include <sys/socket.h> Defined function int accept (int s, struct sockaddr * addr, int * addrlen); Function Desc

unix / linux socket API reference_2

listen (wait connection) Correlation function socket, bind, accept, connect Header file # include <sys/socket.h> Defined function int listen (int s, int backlog); Function Description listen () to wait for the parameters s, socket connection. P

unix / linux socket API reference_3

sendmsg (transmit data via socket) Correlation function send, sendto, recv, recvfrom, recvmsg, socket Header file # include <sys/types.h> # Include <sys/socket.h> Defined function int sendmsg (int s, const strcut msghdr * msg, unsigned in

Linux Socket Programming Environment

What is Socket Socket interface is a TCP / IP network, API, Socket Interface defines a number of functions or routines that programmers can use them to develop TCP / IP network applications. To learn on the Internet TCP / IP network programming, we must u

Create scoket file UNIX Domain Socket IPC

Transfer from: http://docs.huihoo.com/c/linux-c-programming/ch37s04.html 4. UNIX Domain Socket IPC socket API was originally designed for network communication, but later in the socket of the framework developed an IPC mechanism that UNIX Domain Socket. A

Programming to create a complete WinSock2 SOCKET pool

Programming WinSock2 SOCKET pool to create a complete Read IOCP programming 2010-02-15 22:46:34 592 5 comments Font Size: medium and small Subscriptions In Winodows platform, network programming is the main interface WinSock, most of the current Wind

Programming WinSock2 SOCKET pool to create a complete

Programming WinSock2 SOCKET pool to create a complete Read IOCP programming 2010-02-15 22:46:34 592 5 comments Font Size: medium and small Subscriptions In Winodows platform, network programming is the main interface WinSock, most of the current Wind

e 589 original linux class

ftp://202.96.64.144/pub/books/ (ebook - chm) - Misc - Debian The Perfect Setup.chm ftp://202.96.64.144/pub/books/ (ebook - English) Advanced Linux Programming.pdf ftp://202.96.64.144/pub/books/ (ebook - HTML - Python) O'Reilly - Core Python [found via

See the Linux kernel. CPU. Memory and the version of the component commands and methods

This article comes from " yellow treasure of the blog "blog, be sure to keep this source http://huangbao.blog.51cto.com/725279/152679 Check kernel version: uname-a more / etc / * release more / etc / redhat-release more / proc / version View CPU

Linux 2.6.31 kernel optimized -1

Introduction This document is an article on Linux Kernel 2.6.31 of the most simple optimization guide. Performance of the best and to build a suitable general Application / Server Development with the kernel. This article mentioned kernel tuning, mainly b

linux IP socket programming (translation)

About this tutorial: IP sockets are high-level Internet protocols to establish the bottom - all HTTP, SSL, POP3, Kerberos and UDP-Time interaction between the protocol are based on this. To control agreement, a programmer should have knowledge of the ...

oracle - Linux - Unix under the ODBC installation. Configuration and Programming

Transfer from: http://linux.sheup.com/linux/linux3962.htm Linux / Unix under the ODBC installation, configuration and programming 2004-04-23 15:18 pm From: Linux documents are shown: Www.8s8s.coM Address: unknown Content: ODBC principle Linux / Unix ODBC

linux IP socket programming (translation) unfinished, continued

About this tutorial: IP sockets are high-level Internet protocols to establish the bottom - all HTTP, SSL, POP3, Kerberos and UDP-Time interaction between the protocol are based on this. To control agreement, a programmer should have knowledge of the basi

Records compiled linux

I, on the gcc, glibc and binutils the relationship between modules 1, gcc (gnu collect compiler) is a general term for a group of build tools. Its main task is to complete the work of the "pre" and "build", and the provision of cl ...

Memcache server under Linux installation and Memcache in Hibernate application

Today is exposed to Memcache, first find yourself online information and their own record with the process of practice recorded for your future reference. Memcache server-side installation * Install libevent Memcache use the libevent library for Socket

Deep understanding of Linux inter-process communication (IPC)

www.ibm.com/developerworks/cn/linux/l-ipc/ Sequence The process under linux is basically a means of communication process from the Unix platform, means of communication inherited. The development of the Unix make a significant contribution to the two main

August 1, 2010 --- actionscript socket connection of the strategy document

August 1, 2010 --- actionscript socket connection to the strategy document Socket connection before the strategy document there are some unresolved problems, and Firefox, google chrome browser does not support changes made today on the deal, the question

Linux kernel analysis

As the objective of this paper is to introduce Linux kernel and explore its architecture and main components, so first of all recall a brief history of Linux and then examine the Linux kernel high-level architecture, and finally introduce its major s

A socket-based implementation of the resource sharing platform (1)

A while ago, and friends made a similar eDonkey, Thunder + MSN tools peer to peer, basically all the functions are realized from the socket communication level up. Overall framework for the C / S structure, using the MFC implementation. Technically v

A socket resource sharing platform based on the realization of (a)

A while ago, and friends made a similar eDonkey, Thunder + MSN tools peer to peer, basically all the functions are realized from the socket communication level up. Overall framework for the C / S structure, using the MFC implementation. Technically very o

to upgrade oracle10.2.0.1 linux instructions to upgrade to 10.2.0.3

To close the database and listener shutdown immediate Then kill all the oracle process ps-ef | grep oracle | grep-v grep | grep-v ef kill -9 process ID And then extract the installation package is unpacked Disk1 folder to install the package into the user

View Linux kernel. CPU. Memory and other components version of the commands and methods

This article comes from, " Wong Po's blog "blog, be sure to keep this source http://huangbao.blog.51cto.com/725279/152679 View Kernel version: uname-a more / etc / * release more / etc / redhat-release more / proc / version View CPU Informat

linux's strace command (explain)

This paper describes the command strace under linux usage. strace command is a powerful tool that can display all the user space program sends the system call. strace shows the parameters of these calls and return values in symbolic form. strace receives

linux install php5 Error: configure: error: Cannot find libmysqlclient under / usr.

CentOs recently installed apache + mysql + php5.1.6 occurs when the following questions: configure: error: Cannot find libmysqlclient under / usr. Note that the MySQL client library is not bundled anymore! Kept at me one day, and finally it is not. Or Bai

Windows and Linux systems in the dynamic library

(Rpm) Of: Liu Shidong Yang Lin 1 Introduction Dynamic libraries (Dynamic Link Library abbr, DLL) technique is often used in programming technology. The aim to reduce the size of the program, save space, improve efficiency, with high flexibility. Dynamic d

IPSEC Linux kernel implementation (4) --- reserved

Copyleft this document owned by yfydz all, the use of GPL, free to copy, reprint, reproduced keep the documents for completeness, for any commercial purposes is strictly prohibited. MSN: yfydz_no1@hotmail.com Source: http://yfydz.cublog.cn 6. XFRM of othe

libevent default hehaviour on linux

libevent is a popular notification library. The API is elegant. And the performance is good. The bad thing is that there is no much information about its implementation. After failing to find such information on the web, I decide to take a look at th

High Performance Socket Server Programming -02

The previous chapter, I demonstrate to you a basic socket server architecture, it can only respond to a connection request, and "can simultaneously respond to multiple connections and requests" is undoubtedly the real life of the socket server,

High Performance Socket Server Programming -01

Network programming has always been the most attractive and most challenging programming areas. From the beginning of this article, People will join you in this area to proceed and accept the challenge of various problems, are you ready? Before you start

linux file descriptor error how to capture?

Api linux system call when some errors sometimes occur, such as when the open linux device, open fails, return -1, the errno global variable can be used to obtain error value. Specifically in the file header # include <errno.h> Then add in the funct

Linux kernel traffic control (17)

Copyleft this document owned by yfydz all, the use of GPL, free to copy, reprint, reproduced keep the documents for completeness, for any commercial purposes is strictly prohibited. msn: yfydz_no1@hotmail.com Source: http://yfydz.cublog.cn 7.6 tcf_pr

Of Windows and Linux dynamic libraries

1 Introduction   dynamic libraries (Dynamic Link Library abbr, DLL) technique is often used in programming technology. The aim to reduce the size of the program, save space, improve efficiency, with high flexibility. Dynamic database technology for the

Linux + File nfs / ntfs / xfs / ext3 / ext4 / file recover / file lvm / file mon

Linux / Unix file system umask command http://www.ixpub.net/thread-1031627-1-1.html A What is umask? When we create a log file after the system always has a default permissions, then the authority is how come? This is the umask to do. umask sets the defau

Linux Kernel IPSEC implementation (4)

This document Copyleft owned yfydz all use under the GPL, can be freely copied, reproduced, reprinted, please maintain the integrity of the document, for any commercial purposes is strictly prohibited. msn: yfydz_no1@hotmail.com Source: http://yfydz.cublo

centos / apache and php installed memcache extension and memcache API

This reference to http://blog.lixiphp.com/centos-linux-memcache-nginx-php-install/ As a matter of time, so I finally good to each website to download the latest version A source package ready Server is to install memcache server side, the current latest v

Linux programming model of concurrent network

The best reference: 1 under the tutelage of the Internet. 2.man 7 epoll 3.http: / / bbs.chinaunix.net/thread-1740209-1-1.html 4.http: / / hi.baidu.com/firobd/blog/item/dcb4f251530d341d0cf3e3ee.html 5.http: / / www.cnblogs.com/dubingsky/archive/2009/07/22/

Linux TCP / IP protocol stack of the key data structures Socket Buffer (sk_buff)

sk_buff structure may be the most important linux networking code data structure that represents the receive or transmit data packet's header information. It <include/linux/skbuff.h> defined and contains a lot of member variables for each sub-ne

strace, ltrace linux command to track the process of calling

Reprinted from: http://hi.baidu.com/ostech/blog/item/b600c901d742987b3812bb0b.html This tool can be used to do most of the excluded, such as mount an NFS, very slow, no cause, we can use the strace command to mount with the all of this is often called pro

-------- Original Linux system security, serial 2

Part II: the process of access restrictions 1 Configure enable selinux Description: http://baike.baidu.com/view/487687.htm Recommended: UltraVNC linux private kitchens Activation Method: setup -> firewall configuration -> selinux: Enable. force

[Zz] Linux kernel and Windows comparison

http://bbs.chinaunix.net/thread-1940245-1-1.html On LINUX and WINDOWS station is already a lot of saliva. This article attempts to compare from a technical point of view under the two major operating systems similarities and differences. Emphasis on the c

Analysis of the Linux kernel (rpm)

linux kernel is a large and complex operating system's core, but despite the huge, but the use of the concept of layered subsystems and good for the organization. In this article, you will explore the general structure of the Linux kernel, and le

linux to upgrade oracle10.2.0.1 instructions to upgrade to 10.2.0.3

To close the database and listener shutdown immediate Then kill all the oracle process ps-ef | grep oracle | grep-v grep | grep-v ef kill -9 process ID Then extract the installation package, unzip the Disk1 folder, the user will install the package i

[Linux] process management, memory management, file systems, system management, network operations overview

Process / thread Process concepts: process / thread is the smallest computer in the execution unit is to achieve time-based multi-user operating system; it is a process in linux how to achieve it? If you are familiar with is a bunch of kernel kernel

The Heartbeat High Availability Linux installation program (original)

Before installing Heartbeat Heartbeat cluster hardware must be seen from the figure, the system must build a Heartbeat cluster hardware are: Node server; Network and network card; Shared disk. Heartbeat node server installation requires at least two hosts

Non-blocking network communication study notes

Concept Network Communication Category 1 Sync block Synchronous non-blocking Asynchronous blocking Asynchronous non-blocking http://www.ibm.com/developerworks/cn/linux/l-async/ In this category inside commonly referred to as belonging to an asynchronous j

C + + Library description

Foundation Classes 1, Dinkumware C + + Library Reference Site: http://www.dinkumware.com PJ Plauger prepared high-quality standard library. Dr. PJ Plauger is Dr. Dobb's Programming Award of Excellence winner. The preparation of the library has long be

Learning Network of compulsory must-see

TCP / IP protocol is the current common WAN and LAN network protocol, therefore, based on TCP / IP programming is particularly important. From the application point of view, now directly use the C-level Socket API for TCP / IP programming, people do less

Books of the required network programming must see (change)

TCP / IP protocol is the current common WAN and LAN network protocol, therefore, based on TCP / IP programming is particularly important. From the application point of view, now directly use the C-level Socket API for TCP / IP programming, people do

c + + library and resource List

1 Introduction Numerous times to hear "I want to start learning C + +!" Cry, heard countless "C + + is too complicated, I really can not learn" helplessness. Mr. Stan Lippman in "C + + Primer" in his book "C + + is the m

C + + library of more famous and learning experience

1, C + + description of the major well-known library - C + + Standard Library 2, C + + description of the major well-known library - prospective standard library Boost 3, C + + description of the major well-known database - GUI 4, C + + description of the
Recent
Recent Entries
Tag Cloud
Random Entries