- Home /
 
 
               Question by 
               Yanka200 · Dec 31, 2012 at 07:58 AM · 
                networkingrpcclient  
              
 
              RPC network info not returning an IP?
PC clicks button to send to server:
 networkView.RPC( "FunctionName", RPCMode.Server,String1Text,String2Text);
 @RPC
 function RegisterAttempt(Str1: String, Str2 : String, info : NetworkMessageInfo){}
 
               On the other computer, it gets this RPC just fine, but it doesn't register the senders IP, so I can reply to it? When I print the recieved info it prints: UnityEngine.NetworkMessageinfo. Why? And is this correcet afterwards to reply from server:
 networkView.RPC( "IGotYourMessage", info.sender );
 
              
               Comment
              
 
               
              You can't just print an object that is of type Network$$anonymous$$essageInfo, ins$$anonymous$$d use a parameter like IP and print that :) 
Your answer