Chris PeBenito 9b244c
## <summary>sound server for network audio server programs, nasd, yiff, etc</summary>
Chris PeBenito 9b244c
Chris PeBenito 9b244c
########################################
Chris PeBenito 9b244c
## <summary>
Chris PeBenito 9b244c
##	Connect to the sound server over a TCP socket
Chris PeBenito 9b244c
## </summary>
Chris PeBenito 9b244c
## <param name="domain">
Chris PeBenito 9b244c
##	<summary>
Chris PeBenito 9b244c
##	Domain allowed access.
Chris PeBenito 9b244c
##	</summary>
Chris PeBenito 9b244c
## </param>
Chris PeBenito 9b244c
#
Chris PeBenito 9b244c
interface(`soundserver_tcp_connect',`
Chris PeBenito 9b244c
	gen_require(`
Chris PeBenito 9b244c
		type soundserver_t;
Chris PeBenito 9b244c
	')
Chris PeBenito 9b244c
Chris PeBenito 9b244c
	allow $1 soundserver_t:tcp_socket { connectto recvfrom };
Chris PeBenito 9b244c
	allow soundserver_t $1:tcp_socket { acceptfrom recvfrom };
Chris PeBenito 9b244c
	kernel_tcp_recvfrom($1)
Chris PeBenito 9b244c
')