Mount Fuji Engine  0.8b
MFSocket MFSockets_CreateSocket ( MFAddressFamily  addressFamily,
MFSocketType  type,
int  protocol 
)

Creates a socket that is bound to a specific service provider.

Parameters
addressFamilyAddress family specification.
typeType specification for the new socket. This should be a member of the MFSocketType enumerated type.
protocolProtocol to be used with the socket that is specific to the indicated address family.
Returns
A reference to the newly created socket. If CreateSocket failed, the return value is -1.