⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tcpip.h

📁 about sound recognition.i want to downlod
💻 H
字号:
/** * @file   tcpip.h * @author Akinobu LEE * @date   Sat Feb 12 12:26:15 2005 * * <EN> * @brief  Definitions relating TCP/IP Networking * </EN> * <JA> * @brief  TCP/IP ネットワ〖ク簇息の年盗 * </JA> *  * $Revision: 1.4 $ *  *//* * Copyright (c) 1991-2006 Kawahara Lab., Kyoto University * Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology * Copyright (c) 2005-2006 Julius project team, Nagoya Institute of Technology * All rights reserved */#ifndef __SENT_SPEECH_TCPIP__#define __SENT_SPEECH_TCPIP__#include	<errno.h>#if defined(_WIN32) && !defined(__CYGWIN32__)/* win32 */#include <winsock2.h>/// Define if WinSock library should be used in Win32 environment#define WINSOCK#else/* unixen */#include	<netdb.h>#include	<sys/socket.h>#include	<netinet/in.h>#include	<sys/un.h>#include	<arpa/inet.h>#include	<sys/file.h>#include	<sys/types.h>#include	<fcntl.h>#endif/// Default port number of A/D-in server (adinnet)#define         ADINNET_PORT 5530/// Default Host/unit name for NetAudio/DatLink input#define         NETAUDIO_DEVNAME "localhost:0"/// Retry time when client connection failed */#define		CONNECTION_RETRY_TIMES    5 /* retry times *//// Interval time between retry in seconds#define		CONNECTION_RETRY_INTERVAL 2 /* sec. *//* net/rdwt.c */int rd(int fd, char *data, int *len, int maxlen);int wt(int fd, char *data, int len);/* net/server_client.c */int ready_as_server(int port_num);int accept_from(int sd);int make_connection(char *hostname, int port_num);int make_connection_unix(char *address);int close_socket(int sd);void cleanup_socket();#endif /* __SENT_SPEECH_TCPIP__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -