Solstice X.25 and multiple links.

Hello.
I have a server, which is meant to respond on a call from Solstice X.25. This is done as follows. A �CONN_DB struct�, i.e. host, is declared. The only thing that is done to host is this: �host.hostlen = ANY_LINK | ANY_SUBADDRESS;�. A socket descriptor is got from a call to �socket(AF_X25, SOCK_STREAM, 0);�. Then the calls to �bind� and �listen� are done. At this point �select� is called and the program waits for Solstice to call on it. When this happens, a call to �accept� is done.
This solution works if the program handles calls from all links. Now to the problem, I want to run two servers like this and let one handle calls from links 0 and 2 and the other server handle calls from link 1 and 3. I know there is the �ioctl( fnum, X25_SET_LINK, &linkid )� call. But if I use this, and exclude ANY_LINK in host.hostlen, only one link can be chosen.
I would be grateful for any ideas.
/�ke
A section of the relevant code is shown below.
if( con_type == CALLED ) // daemon (receiving)
if(( fnum = socket( AF_X25, SOCK_STREAM, 0 )) == -1)
build_errno_string(ERR_SOCKET);
return (-1);
pgrp = getpid();
if( ioctl( fnum, SIOCSPGRP, &pgrp ))
build_errno_string(ERR_IOCTL_SIOCSPGRP);
return (-1);
if (ioctl( fnum, X25_HEADER, &need_header ))
build_errno_string(ERR_IOCTL_X25_HEADER);
return (-1);
host.hostlen = ANY_LINK | ANY_SUBADDRESS;
if( bind( fnum, (struct sockaddr *)&host, sizeof(host) ))
build_errno_string(ERR_BIND);
return (-1);
xdebug_log("x25_link.C: initiate_x25, bind is done\n\n");
if( listen( fnum, 5 ))
build_errno_string(ERR_LISTEN);
return (-1);
xdebug_log("x25_link.C: initiate_x25, past listen\n\n");
}

Hello;
I use for the first time the stack Solstice X.25 and I have need for assistance. I have a Sun (Solaris) serveur with a HSI Card and Solstice X25. This serveur must to send of the data via X25 network another server (linux).
Q1 : how How I must use Solstice for sending the data ?
Q2 : I must realise in the same thread (in C++) the implemantation of the levels 4 et 5 (transport and session). Its possible a API Solstice interface with C++ object (Call C++ fonction) ?
Q3 : I use the buffer notion for storing the X25 msgs, have you another better solution ?
Thank you
Djamel

Similar Messages

  • Query builder and multiple linked tables...

    Hi all,
    I have a database with a large table (50+ fields) and lots of tables (at
    least 10 tables) linked to the bigger one.
    I can link 7 or 8 tables using Query builder but after that, it gets slow
    and slower.
    I can't link other tables since it appear to hang.
    How can I solve this?
    Here is a sample of the large table (articles):
    - id_art
    - code_art
    - material_id_art (fk)
    - color_id_art (fk)
    - finishing_id_art /fk)
    - and so on... with other fields set as foreign keys.
    The color table is:
    - id_col
    - colid_col
    - name_col
    - language_col
    The table view is:
    id_col colid_col name_col language_col
    1 1 rosso it
    2 1 red uk
    3 1 rojo es
    The other tables follow the same color table specification.
    I would like to obtain all articles with color_id_art field equal to the
    color.colid_col field AND color.language_col equal to a session variable
    (language). This session variable contains 'it', 'uk', or 'es', depending
    on user selection on other pages.
    I can use query builder to do something similar with few tables but when
    the linked tables are 10 or more the query builder began to slow down too
    much and is totally unusable.
    Is there a way to create such a query manually?
    I'm not a SQl programmer so, I have not all the knowledge to do this.
    Can anyone point me in the right direction or point me to some tutorial
    about such a problem?
    I thank you in advance.
    tony

    Ciao Tony,
    Well, the main table is 4000+ records
    I´ve heard of other users having similar issues with this (or more) amount of data, what´s not surprising, because every time you´re making a change to your query, the Query Builder tries to refresh the browser
    I think that the problem is related to too much inner joins and too many WHERE clauses with AND condition
    maybe this might add to the problem, but I´m pretty convinced that the major bottleneck is the substantial amount of records your main table has.
    Günter, can I ask you how would you manage a multilingual product catalog where the main table (products) has lots of linked details tables (color, finishing, structure...) to be translated on a number of languages?
    this is indeed a little tricky by nature, however I think that storing e.g. all the international color names in a table is too complicated, when you could simply...
    a) check the currently running language session variable
    b) define a PHP if/else condition which will "virtually" translate the stored "id_col" values, example:
    if ($_session['language'] == "uk") {
    $pattern = array("1", "2", "3", "4");
    $replace = array("red", "blue", "black"', "green");
    $colors = str_replace($pattern, $replace, $row_queryname['columnname']);
    else {
    $pattern = array("1", "2", "3", "4");
    $replace = array("rosso", "blu", "nero"', "verde");
    $colors = str_replace($pattern, $replace, $row_queryname['columnname']);
    3. later in your page "echo" the alias variable $colors, which should return different results depending on the currently active language session variable
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Can you put multiple links over the same button and have it still change states?

    I have a photoshop button that changes from an active state ('TRAVEL' in a box) to a rollover state ('JAPAN, PHILIPINNES, KOREA, INDIA' in a gridded box). The 4 location names should be linked to seperate galleries. I want to find a way to do that. I tried placing clear rectangles over the areas, and then linking the rectangles, but it prevents the rollover state from being activated. Is there a way to do this?

    You should be able to do what you want with the Tooltip Composition Widget.

  • My husband and I have separate iTunes accounts and multiple devices (iPads, iPhones, iPods etc) how do we share our music and apps between our devices if we have different iTunes accounts.

    Help! My husband and I have multiple devices (iPad, iPhone, iPod ) that we we have linked to individual iTunes accounts ie he has his account with iPad, iPhone, PC and iPod linked/sync and I have my account with iPhone, iPad, iPad mini, PC etc.. How do we share our music and apps across/between our accounts?

    It probably means that only one of you can use iCloud or at least sync calender/contacts with it. I would guess that you could manually manage the other phone as you have before.

  • Can't find the storage and backup link to start an icloud backup

    Why is it that when you create an icloud account the Storage and Backup link isn't always there.  I need to create an icloud account and then create an icloud backup right away so that I can setup multiple ipads using the icloud backup.  How do I force an icloud backup?
    Thanks

    You can check your Junk/Spam folders, sometimes the e-mail gets sent there. Also, double check that the primary e-mail address in your Apple ID account is hers. If none of this works, I suggest to wait it out, sometimes it can take up to 24 hours!

  • Return multiple links (href)

    Hi,
    I am customizing a software application using Stored Procedure and XML to display information on multiple links (a href tag). My scenario is as follows.
    I am accepting SP parameters and returning reference cursor for 1 or more records (depending on the condition). I am wondering how I can use multiple link values based on each record unique value (ID etc).
    Can I test result of reference cursor using IDE (PL/SQL developer, Oracle sql developer).
    My stored procedure works fine without links.
    PROCEDURE GetLinkValues (
    resultData OUT SYS_REFCURSOR
    ) AS
    BEGIN
    OPEN resultData FOR
    select
    id, name, '<a href GetDetails.dll' a.id || '</a>' as MultipleLinks
    from Test
    where {Filter Recrods}
    END GetLinkValues;
    Any help is appreciated.
    Thanks
    Sam

    The calling program must set this flag, not your search-help.
    On a select-option field, don't press F4 but the yellow arrow right, the multiple line selection screen is displayed, there you press the "multi-selection" box.
    Regards

  • How can I save multiple links using the "save link as" function?

    I'm trying to save about 300 pdf files. The link to each one is listed ona website. To save each one I'm right clicking on the link, selecting "save link as" and repeat.
    How can I select multiple links and save them?

    Actually you can save multiple page pdf's in elements.
    Try something like this:
    (This is easier if you have the project bin open)
    1. Select the first page
    2. Right click on that page in the project bin and choose Add Blank Page or as many pages as you need.
    3. Use the move tool and drag your pages down into the blank pages in the project bin
    4 Then File>Save As>Acrobat.PDF

  • I had an older version of Firefox with a toolbar that allowed me to view multiple links at once. Is that toolbar avaiable for the current version of Firefox?

    When viewing an email with multiple links, I would click an icon in the toolbar which looked like a vertical multi-colored bar and all the links would open on the same page. I cannot find this (add-on) now that I have downloaded the current version of Firefox. Is there something which works similarly available?
    Some of the other icons on this tool bar were red arrows.

    Maybe I just don't know how to make it work but It doesn't open all the links in at once in the same tab. I will read more about to see if I can figure this out. It is a challenge to learn new programs. I should have saved the old Firefox program which downloaded along with Firefox as I remember.

  • Multiple link of the same document

    1.I heard that when I buy a windows server, there comes also a free edition/foundation edition of sharepoint. Is it right?
    2. When I upload a document to the free edition of sharepoint, is there any position for me also to enter the metadata of the document to facilitate future searching of the document? Please show me some screenshots.
    3. Under ambiguous circumstances where a document can be put into two locations/folders, people suggest to set a multiple link to this document, so that when I click the link inside either one of the folders, I can get the same document. It means there is
    no need to upload the same document to both folders. It is not simply a normal shortcut which we usually come across in window explorer. Can Sharepoint do this?

    1. Yes, it's called SharePoint Foundation Server.
    2. Of course, this is a core functionality of SharePoint. See
    https://www.google.nl/search?q=sharepoint+document+library+metadata+screenshot&tbm=isch&tbo=u&source=univ&sa=X&ei=d9nIU6usNofGPNG6gPAF&ved=0CB8QsAQ&biw=1400&bih=748 for screenshots.
    3. No, although you can use the document id service to generate a permanent link and use that link in a metadata field to refer to the source doc. Not in the free version, though
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • How do I create an iView with multiple links to R/3 transactions

    Hello Portal developers,
    I'm looking for a solution for displaying multiple links on a single iView or Page.  The requirement is calling for several SAP Transactions and a link to an external web application from a single view.  Could or should this be done using KM Navigation iView, or creating separate iViews for each link and placing them in a page?
    Thank you for your recommendations.

    Hi Terry,
    Are the SAP Transactions fixed ?
    I mean have you fixed that only these many transactions have to be displayed ?
    If yes, better option would be to create separate iviews for each and assign these to the "Related Links" or "Dynamic Navigation" of a page.
    IF no, that means, you want the user shall enter the transaction code and that transaction should open up in iview, then ofcourse you cant go in for the above solution.
    Thanks,
    Samta

  • Converting a document with multiple links to a word document

    I am trying to convert a PDF file with multiple links to a word document.  When the conversion is complete and the document is saved as a word document I cannot access the links - I keep getting error messages or messages that say a program is not associated with the link.

    Hi laytonbarb,
    We would like to help!
    Are they hyperlinks? If so - you will want to insert the links back in. If they are full links do they match the links on the pdf?
    Looking forward to hearing back from you!
    Regards, Stacy

  • How to apply style to multiple links?

    I'm a newbie here, so maybe this is a simplistic question.  I am having trouble applying a color style to multiple links on a webpage at the same time.  I have a page setup with a layout similar to the Drudge Report, which posts href links separated by horizontal rule lines.  I want to apply a color style to these links, but I'm finding I have to select each link individually in design mode to apply the style.  When I select multiple links in design mode, the color doesn't apply to the text.  It's time consuming to select each link individually.  I can do this easily in Microsoft Visual Web.  How can I do it in Dreamweaver?

    The best way is to put all related links into a division. 
    Let's say you want to have red links in your #header and white links in your #footer which has a black background.
    CSS, set up two sets of link styles:
    #header a {text-decoration:none}
    #header a:link {color:red}     /**unvisited**/
    #header a:visited {color:gray} /**visited**/
    #header a:hover,               /**on mouse over**/
    #header a:active,              /**on click**/
    #header a:focus                /**on tab key**/
        {text-decoration:underline}
    #footer {background: #000;}
    #footer a {text-decoration:none}
    #footer a:link {color:white}
    #footer a:visited {color:yellow}
    #footer a:hover,
    #footer a:active,
    #footer a:focus 
        {text-decoration:underline}
    HTML:
    <div id="header">
    <a href="some-link.html">Link in the header</a> |
    <a href="some-link.html">Link in the header</a> |
    <a href="some-link.html">Link in the header</a> |
    </div>
    <div  id="footer">
    <a href="some-link.html">Footer link</a> |
    <a href="some-link.html">Footer link</a> |
    <a href="some-link.html">Footer link</a> |
    </div>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Mail Adapter - Multiple mail ID and multiple mail servers config.

    Hi All
    I am doing BPM synch scenario in which i get the response from SAP box and send the response via email adapter. I am using mail.xsd and doing mail config. in message mapping. However in the TO field i am able to give only one email ID. If i give multiple email ID's mail is not received. I tried comma and semi-colon as separator. Still not working? I have two questions in configuring TO option:
    1) How to send to multiple id's? I am using Lotus Notes.
    2)How to send to multiple mail servers? I have to send to Lotus Notes id's and outlook express id's also simultaneously.
    Thanks for your help in advance
    Warm Regards
    Samuel

    Hi,
    Please find here with some observations about it,
    1) How to send to multiple id's? I am using Lotus Notes.
    If you have specified an IMAP server under URL, the message is saved in the specified folder but is not sent to the receiver specified under To.
    Then even if Under To, you had specified the e-mail address that will receive the message would be separated with a semicolon. It will not work.
    Please verify about it .
    The below link will also help you to verify if there is anything missing
    Mail Adapter (XI) - how to implement dynamic mail address
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    BPM:Single Sender and Multiple Receivers based on synchronous
    exchange(switch) part-1
    /people/prasadbabu.nemalikanti3/blog/2006/03/10/bpmsingle-sender-and-multiple-receivers-based-on-synchronous-exchangeswitch-part-1
    Generic Message Interface in SAP Exchange Infrastructure Email Integration Scenarios
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00d5a235-4803-2a10-f682-889d67c69975
    (If your using Alert Framework then)
    If you want to send it to multiple email addresses and all email addresses are user of XI then you can define "Role" and attach that role to everyuser and make this role as receipent of alert .
    Thanks
    Swarup
    Thanks
    Swarup

  • Multiple links in a pdf document

    i have a pdf document that is viewed online and has multiple links to it. I would like the customer to click the link and 2 things to happen. 1. a web page opens, and 2. a sepearte pdf opens so that when you close the pdf, the web page is the active document. I want this to all happen in  new tab in the browser theyre using. I dont know much about javascript but any help as to why i cant get the links to open properley or the documents opening in new windows instead of tabs would be greatley appreciated.

    Depending on what other text you might have, you could use the data list component.
    To get the text to have underlines, you will need to edit the repeated item. You can also adjust colors and fonts as well. The default rollover and selected states will probably not be the UI that want, so make sure you change those as well.
    Now for the interactivity, select the datalist, and use the interactions panel, choose "On Select", then "Go To Url", the trick is to make sure the "When a specific item is selected" is also set. Here are the basic settings to get your links working:
    Add new interactions for each item you want to be functional.

  • Multiple linked query report in 6i

    Hi,
    I have a report with multiple linked queries.
    Group 1 (1st query)
    Group 2 (2nd query linked to 1st query)
    Group 3 (3rd query linked to 1st query)
    There is a page protect on group 2, when group 2 goes to a the second page it sometimes leaves room for group 3 to print on the first page.
    I do not want group 3 to print until group 2 has finished printing entirely.
    How can I push group 3 to print on the second page if there is room on the first page??
    Any help would be great!
    Kelly

    Hi Kelly,
    Typically, group 2 will be in a variable sized frame (M_2). If group 3 is below "M_2" (and there's nothing between them) then group 3 should be implicitly anchored to "M_2". That is, as "M_2" expands, group 3 will move down to make room for "M_2".
    The implicit anchor that would normally be created in the above scenario would be against group 3 with the following print conditions:
    - Print Object On: "Last Page"
    - Base Printing On: "Anchoring Object" (ie: "M_2")
    In this case, Group 3 would only print when "M_2" has completed - by the sounds of, this should be the bahaviour you want.
    Check the above values against your Group 3. You can always re-set the "Print Object On" property to "Default" to get Reports to create these values for you.
    If you have to, you can create an explicit anchor between Group 3 & "M_2" and set the above print conditions manually against Group 3.
    Robin.

Maybe you are looking for

  • Error when saving a default format for a date field in 11g

    Getting this error when attempting to save the default for a date field in 11g: The current xml is invalid with the following errors: Bad xml instance! <?xml version="1.0"?> <sawsavedformat:metadata xmlns:sawsavedformat="com.siebel.analytics.web/save

  • PO creation changes the price in PO

    Hi As i am creating PO manually in the system, the quantity changes automatically to a rounding value. I have checked the material master, the rounding profile and rounding values are not maintained. The lot size is FX (Fixed lot) with quantity as 25

  • I want to use firefox as a ranking tool on Google searches

    I am creating a website for affiliate marketing and want to use firefox to identify the site ranking on Google but I am not sure after downloading firefox if this app is available

  • Photoshop CS3 for MAC.

    Adobe don't recognize my S/N on "start-up Also Photomerge don't launch but gives me an "error message" to long to enter here. I have to then do a "force Quit" of the application. Harry 1

  • Employee Upload

    Hi, My client wants to upload the employee record of the Inactive employees also. I want to know whether it is advisable as per the best practice? Also what should be the approach if we are migrating the data of the Inactive employee? In my opinion i