| | 
      |   |   
            | Subject: 
 | Re: problem with lnpd...help!? 
 |  
            | Newsgroups: 
 | lugnet.robotics.rcx.legos 
 |  
            | Date: 
 | Fri, 15 Mar 2002 23:38:57 GMT 
 |  
            | Viewed: 
 | 3325 times 
 |  |  |  
 | 
 |  | > foo{ >     int test;
 >     char *test2;
 >     void *test3;
 > };
 >
 > char  *test4 = 'a';
 
 this must be
 
 char test4 = 'a';
 
 I think. Otherwise, you won't sent an 'a' anyway.
 
 But I can't imaginge why you want to do this.
 Michael Ash has shown a way to fiddle the strings into a contigous data
 area ready to  be sent. But why do you want to send a string? Do you read
 the string from outer source, i.e. does your robot read it?
 Anytime I used lnp packets, I wanted to transfer values my robot read, or
 some internal values for debug purposes.
 
 Could you tell a little bit more about your project?
 
 Bye
 
 Mike
 
 |  |  |  
 
 Message is in Reply To:
 
  |  |  | problem with lnpd...help!? 
 | 
 |  | hi all. im using legOS 0.2.4 and using lnpd to communicate with my linux box. now then, here is my problem. lets imagine i have the following: foo{ int test; char *test2; void *test3; }; char *test4 = 'a'; char *test5 = 'b'; struct foo bar* = NULL; (...)   (24 years ago, 15-Mar-02, to lugnet.robotics.rcx.legos) 
 |  11 Messages in This Thread:
 
    
              
       
       
     
 
      Entire Thread on One Page:
      
        Nested: 
        All | Brief | Compact | Dots
        Linear: 
        All | Brief | Compact
 | 
 | 
 | 
 |