2002-02-16 Jeffrey Stedfast <fejj@ximian.com>
authorJeffrey Stedfast <fejj@novell.com>
Sat, 16 Feb 2002 18:48:14 +0000 (18:48 -0000)
committerJeffrey Stedfast <fejj@novell.com>
Sat, 16 Feb 2002 18:48:14 +0000 (18:48 -0000)
commitdc67d5fea9422374c5c30c997f71208bb8806d3e
treeae2ce7c64ef90c3039da100b0c06ccccddf4ce06
parentad35083d69f98db2cd4ea30b2403a4b2f29fc387
2002-02-16  Jeffrey Stedfast  <fejj@ximian.com>

* socket-io.c (convert_sockopt_level_and_name): If the system
doesn't define SOL_IP or SOL_TCP, get them by hand using
getprotobyname() and caching the values (because this could be a
slow operation).
(ves_icall_System_Net_Sockets_Socket_SetSocketOption_internal):
Don't attempt to add or drop memberships unless the system
supports it.

svn path=/trunk/mono/; revision=2445
mono/metadata/ChangeLog
mono/metadata/socket-io.c