NAME

coreThreadSocketAdd() -- associate a socket with a thread.


SYNOPSIS

include "appcore.h"

int coreThreadSocketAdd( coreThrSocketSPEC_t* s, corehSOCK_t* h )

DESCRIPTION

The coreThreadSocketAdd() adds a socket to a thread.


PARAMETERS

s
	Pointer to socket specification data type.
h
	Pointer to socket handle.	

RETURN VALUE

If successful, coreThreadSocketAdd() returns

errno ValueCondition
ENOMEMInsufficient memory to complete operation.


MULTI-THREAD SAFETY LEVEL

MT-safe.


SEE ALSO

Functions:
coreThreadStart() coreThreadStop() coreThreadStopJoin() coreThreadAttach() coreThreadDettach() coreThreadSocketRemove() corehThread()