[Mono-list] Socket Creation in Mono

Robert Jordan robertj at gmx.net
Sat Feb 5 12:38:28 EST 2011


On 05.02.2011 18:27, liambresnahan wrote:
>
> I am looking for some information on how Mono creates a socket and what
> happens in OS level functions when sockets are created.
>
> I have searched around but cannot find anything within documentation, I may
> be looking in the wrong places but is there any documentation on this or is
> someone able to help answer my question?

Have a look at the source code:

Unmanaged:

https://github.com/mono/mono/blob/master/mono/metadata/socket-io.c
https://github.com/mono/mono/blob/master/mono/metadata/threadpool.c
both inside this directory:
https://github.com/mono/mono/tree/master/mono/metadata

Managed:

https://github.com/mono/mono/tree/master/mcs/class/System/System.Net.Sockets/

Robert



More information about the Mono-list mailing list