[Mono-dev] Re: [PATCH] Map SocketFlags enum to native flags

Dick Porter dick at ximian.com
Thu Feb 2 06:54:39 EST 2006


On Wed, 2006-02-01 at 22:03 +0530, Ankit Jain wrote:
> But this means that a "#include <mono/metadata/socket-io.h>" is required in 
> mono/io-layer/sockets.c, as the mapping of flags is done in 
> io-layer/sockets.c (_wapi_recv etc). Am not sure whether this dependency 
> is acceptable.

You need to do the conversion from managed flags to native in the
metadata/socket-io.c file, like all the other enum mappings.

- Dick





More information about the Mono-devel-list mailing list