To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1396
1395  |  1397
Subject: 
Re: Blockin LNP calls
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 27 Aug 2000 18:39:29 GMT
Viewed: 
1031 times
  
        testport = 1;
        testhost = 0;
        testaddress = (testhost << 4 | testport);

        cout << "DEBUG: step 1 reached" << endl;

        result = lnp_addressing_write(testbuffer, testlen
,testaddress, 8);

It shouldn't be the real problem, but are you sure about the port
paramenter?

How about:

result = lnp_addressing_write(testbuffer, testlen ,testaddress,
testport);

Bye,
     Paolo.

---
Maier's Law: If the facts do not conform to the theory, they must be
disposed of.



Message has 1 Reply:
  Re: Blockin LNP calls
 
(...) Sorry, I was using an unsigned char variable, this was just a remnant of some testing I did..... I tried a lot of variations ;-) (...) (24 years ago, 28-Aug-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: Blockin LNP calls
 
HELP! I'll ellaborate a little on the details of my previous posting: My code (removing some CORBA detail) looks like this: I have a class "nanOrbDemo_i" which has the following constructor: inline nanOrbDemo_i(){ if ( lnp_init(0,0,0,0,0) ){ cout << (...) (24 years ago, 27-Aug-00, to lugnet.robotics.rcx.legos)

8 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR