HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: X.25 - difference between ioctl(X25_SET_FRAGME...
Operating System - HP-UX
1836230
Members
1869
Online
110096
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2001 05:05 AM
10-09-2001 05:05 AM
X.25 - difference between ioctl(X25_SET_FRAGMENT_SIZE) and setsockopt(SO_RCVBUF)
I am encountering some loss of data (my client app. receives OOB_VC_MSG_TOO_BIG), I saw in the documentation ioctl(X25_SET_FRAGMENT_SIZE) and setsockopt(SO_RCVBUF), can anybody tell me the difference between these 2 system calls ?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2001 05:13 AM
10-09-2001 05:13 AM
Re: X.25 - difference between ioctl(X25_SET_FRAGMENT_SIZE) and setsockopt(SO_RCVBUF)
To receive a message in fragments of the complete X.25 message,
use ioctl(X25_SET_FRAGMENT_SIZE). The state of the MDTF bit is 1 for all except the last fragment of the message.
SO_RCVBUF set-socket-options are used to set the the high water mark (maximum size) of a TCP session's Send Window and Receive Window.
Berlene
use ioctl(X25_SET_FRAGMENT_SIZE). The state of the MDTF bit is 1 for all except the last fragment of the message.
SO_RCVBUF set-socket-options are used to set the the high water mark (maximum size) of a TCP session's Send Window and Receive Window.
Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2001 05:23 AM
10-09-2001 05:23 AM
Re: X.25 - difference between ioctl(X25_SET_FRAGMENT_SIZE) and setsockopt(SO_RCVBUF)
OK.
Maybe I can explain more my problem : in my client I call setsockopt(SO_RCVBUF) with 58254 which is the maximum value (from documentation), I call also ioctl(X25_SET_FRAGMENT_SIZE) with 0 (but it fails with errno 22). So sometimes my client receives the event OOB_VC_MSG_TOO_BIG, so it means that the data packet my client receive is bigger than 58254 bytes. Can you tell me what can I do ?
PS: someone else in my company ported this client to HP-UX 11 and he set SO_RCVBUF to 80000, and it worked !! Can you tell me why it worked, because the maximum value is 58254 according to HP documentation.
Maybe I can explain more my problem : in my client I call setsockopt(SO_RCVBUF) with 58254 which is the maximum value (from documentation), I call also ioctl(X25_SET_FRAGMENT_SIZE) with 0 (but it fails with errno 22). So sometimes my client receives the event OOB_VC_MSG_TOO_BIG, so it means that the data packet my client receive is bigger than 58254 bytes. Can you tell me what can I do ?
PS: someone else in my company ported this client to HP-UX 11 and he set SO_RCVBUF to 80000, and it worked !! Can you tell me why it worked, because the maximum value is 58254 according to HP documentation.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP