BeginReceiveMessageFrom not working!

  • Thread starter Thread starter Frank Osterberg
  • Start date Start date
F

Frank Osterberg

Hi,

i need to receive UDP packets but so that i know from which hosts the packet
came.
Apperently the BeginReceiveMessageFrom is supposed to do that, but when i
invoke the method i always receive a:
"Feature requires Windows XP or later.
(System.PlatformNotSupportedException)"
error. In the documentation though:
http://msdn2.microsoft.com/en-us/library/system.net.sockets.socket.beginreceivemessagefrom.aspx
it says, Windows 2000 SP4 are supported and that's what i'm using, so what's
wrong here?

Thanks for any help!
 
Frank Osterberg said:
Hi,

i need to receive UDP packets but so that i know from which hosts the
packet came.
Apperently the BeginReceiveMessageFrom is supposed to do that, but when i
invoke the method i always receive a:
"Feature requires Windows XP or later.
(System.PlatformNotSupportedException)"
error. In the documentation though:
http://msdn2.microsoft.com/en-us/library/system.net.sockets.socket.beginreceivemessagefrom.aspx
it says, Windows 2000 SP4 are supported and that's what i'm using, so
what's wrong here?

That link indicates Windows 2K Server and not Win 2k Pro.

The link pointing to Framework 2.0 indicates Win 2k period, unless that link
is wrong and it's Win 2K Server O/S there too.
 
Thanks,

well between Win 2k Pro/Serv. there should not be any Winsock/.Net Framework
difference.
I mean if Windows 98 is supposed to be supported, then why wouldn't Win 2k
Pro/Server be?

In any case, using just the BeginReceiveFrom is working and i get the needed
info as well, so it's no longer an important issue to me.

It does look like either there is an error in the 'Platforms' section of
MSDN documentation or there is an error in the .Net Framework.
 
Back
Top