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

📄 protocol.txt

📁 使用Exlipse编写的一个语音程序
💻 TXT
字号:
# Copyright 2001 Sun Microsystems, Inc.# All Rights Reserved.  Use is subject to license terms.# # See the file "license.terms" for information on usage and# redistribution of this file, and for a DISCLAIMER OF ALL # WARRANTIES.#The protocol between client and server for the Client/Server demo isas follows:Client                              Server------                              ------1.                                  Waiting for connection.2. Opens socket connection   to Server.3.                                  Accepts connection request.4.                           <---   Send "READY\n" string.5. Send "TTS\n" string.      --->6. Send "<sample rate>\n".   --->7. Send "<text>\n".          --->8.                                  Perform TTS.9.                           <---   Send "<number of bytes in sample>\n".10.                          <---   Send sample bytes.11.                          <---   Send "-1\n" for "no more data".                                    Or send "-2\n" for error.12. For more TTS, do back to    step 5.13. Send "DONE\n" string.    --->14. Closes the socket connection.

⌨️ 快捷键说明

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