ata-active="" data-togglable=":common:dokkaHtmlPartial/release"><div class="symbol monospace"><span class="token keyword">fun </span><a href="create-tcp-socket.html"><span class="token function">createTcpSocket</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">type<span class="token operator">: </span><a href="../../-socket-type/index.html">SocketType</a><span class="token punctuation">, </span></span><span class="parameter ">host<span class="token operator