Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Linux Magazine: The source for advanced Linux know-how

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 72 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       #include <sys/socket.h>
       #include <linux/x25.h>

       x25_socket = socket(PF_X25, SOCK_SEQPACKET, 0);


       X25  sockets provide an interface to the X.25 packet layer
       protocol.  This allows applications to communicate over  a
       public  X.25 data network as standardised by International
       Telecommunication Union's recommendation X.25  (X.25  DTE-
       DCE  mode). X25 sockets can also be used for communication
       without an intermediate X.25 network (X.25  DTE-DTE  mode)
       as described in ISO-8208.

       Message boundaries are preserved - a read(2) from a socket
       will retrieve the same chunk of data as  output  with  the
       corresponding write(2) to the peer socket. When necessary,
       the kernel takes care of segmenting and re-assembling long
       messages  by  means  of  the X.25 M-bit. There is no hard-
       coded upper limit for the message size. However, re-assem­
       bling of a long message might fail if there is a temporary
       lack of system resources or when other  constraints  (such
       as  socket memory or buffer size limits) become effective.
       If that occurs, the X.25 connection will be reset.


       The AF_X25 socket address family  uses  the  struct  sock­
       addr_x25  for representing network addresses as defined in
       ITU-T recommendation X.121.

              struct sockaddr_x25 {
                  sa_family_t   sx25_family;  /* must be AF_X25 */
                  x25_address   sx25_addr;    /* X.121 Address */

       sx25_addr contains a char array x25_addr[]  to  be  inter­
       preted  as a null-terminated string.  sx25_addr.x25_addr[]
       consists of up to 15  (not  counting  the  terminating  0)
       ASCII characters forming the X.121 address.  Only the dec­
       imal digit characters from `0' to `9' are allowed.


       The following X.25 specific socket options can be  set  by
       using  setsockopt(2)  and read with getsockopt(2) with the
       level parameter set to SOL_X25.

              Controls whether the  X.25  Q-bit  (Qualified  Data
              Bit) is accessible by the user. It expects an inte­


       Plenty, as the X.25 PLP implementation  is  CONFIG_EXPERI­

       This man page is incomplete.

       There is no dedicated application programmer's header file
       yet;  you  need  to  include  the   kernel   header   file
       <linux/x25.h>.   CONFIG_EXPERIMENTAL might also imply that
       future versions of the interface are not  binary  compati­

       X.25 N-Reset events are not propagated to the user process
       yet. Thus, if a reset occurred, data might be lost without


       socket(7), socket(2)

       Jonathan Simon Naylor: "The Re-Analysis and Re-Implementa­
       tion of X.25."  The URL is


       The PF_X25 protocol family is a new feature of Linux  2.2.

Linux Man Page              1998-12-01                     X25(4)
Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can help in many different ways.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds