bpa wrote: 
> You did broadcast the packet to 255.255.255.255 ?
> 
> The string is encoded as ASCII not UTF ?

You have to send it as an array , I've done it in Java using a byte
array like this

Code:
--------------------
      
  
  byte[] request = {
                                'e', // 'existence' ?
                                'I', 'P', 'A', 'D', 0, // Include IP address
                                'N', 'A', 'M', 'E', 0, // Include server name
                                'J', 'S', 'O', 'N', 0, // Include server port
  };
  
--------------------


But yoU can't do that in C# so I've tried

Code:
--------------------
      
  
  Char[] request = {
                                'e', // 'existence' ?
                                'I', 'P', 'A', 'D', '0', // Include IP address
                                'N', 'A', 'M', 'E','0', // Include server name
                                'J', 'S', 'O', 'N', '0', // Include server port
  };
  
--------------------


Which it seems to accept but maybe that's part of the problem



We can't stop here this is bat country. RIP Hunter S Thompson.
------------------------------------------------------------------------
pkfox's Profile: http://forums.slimdevices.com/member.php?userid=5346
View this thread: http://forums.slimdevices.com/showthread.php?t=105040

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to