?? unix.sgml
字號:
<!-- ##### SECTION Title ##### -->Unix<!-- ##### SECTION Short_Description ##### -->Unix socket<!-- ##### SECTION Long_Description ##### --><para>The Unix module provides support for Unix sockets. Unix sockets areused to communicate between processes. Unix sockets are for Unixoperating systems only and are not supported in Windows. GNet's Unixsockets are stream-based (like TCP), not datagram-based (like UDP).Unix socket addresses are file names, like "/tmp/my_unix_socket".</para><para>To connect to a existing Unix socket, call gnet_unix_socket_new(). Tocreate a new Unix socket other processes will connect to, callgnet_unix_socket_server_new().</para><para>The functions in this module are similar to those in the TCP module.See the documentation on TCP sockets for more information.</para><!-- ##### SECTION See_Also ##### --><para></para><!-- ##### STRUCT GUnixSocket ##### --><para></para><!-- ##### FUNCTION gnet_unix_socket_new ##### --><para></para>@path: @Returns: <!-- ##### FUNCTION gnet_unix_socket_delete ##### --><para></para>@socket: <!-- # Unused Parameters # -->@s: <!-- ##### FUNCTION gnet_unix_socket_ref ##### --><para></para>@socket: <!-- # Unused Parameters # -->@s: <!-- ##### FUNCTION gnet_unix_socket_unref ##### --><para></para>@socket: <!-- # Unused Parameters # -->@s: <!-- ##### FUNCTION gnet_unix_socket_get_io_channel ##### --><para></para>@socket: @Returns: <!-- ##### FUNCTION gnet_unix_socket_get_path ##### --><para></para>@socket: @Returns: <!-- ##### FUNCTION gnet_unix_socket_server_new ##### --><para></para>@path: @Returns: <!-- ##### FUNCTION gnet_unix_socket_server_accept ##### --><para></para>@socket: @Returns: <!-- ##### FUNCTION gnet_unix_socket_server_accept_nonblock ##### --><para></para>@socket: @Returns:
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -