pkfox wrote: 
> Hi bpa, I'm trying to do this using C# so far I'm able to get the ip
> address correctly but don't see the correct port number - this is what I
> have
> > 
Code:
--------------------
  >   > 
  > int UDPPort = 3483;
  > UdpClient listener = new UdpClient(UDPPort);
  > IPEndPoint groupEP = new IPEndPoint(IPAddress.Any, UDPPort);
  > byte[] bytes = listener.Receive(ref groupEP);
  > 
--------------------
> > 
> The object groupEP contains the correct ip address but the port is
> 3483 - I'm obviously missing something here - thanks

Yes - the contents of the message telling the server what info you want

I don't know C~ syntax try sending the server string
'eIPAD\0NAME\0JSON\0'  where \0 is null.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
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