如何寫線上即時聊天程式? |
尚未結案
|
tamad
一般會員 發表:2 回覆:3 積分:1 註冊:2004-06-02 發送簡訊給我 |
|
暗黑破壞神
版主 發表:9 回覆:2301 積分:1627 註冊:2004-10-04 發送簡訊給我 |
ok.
first.you must to define some protocol.
like you call others. other call you.
second. you must know how to write a socket server to listen the client to accept "call in"
then you must know how to write a socket client to call out to the other pc's socket server.
ok. when you can do these.
then you must learn how to record the voice from mic, and play the record data to speaker.
OK?
if you find the data is too large. you can do compress at client and decompress at server.
then you get what you want. and other is the user interface........
sorry. my chinese input method have some trouble. if you have any question, you can response it. i will use chinese to answer to you.
but don't let me write the code.....it's very tired. ^_^
|
tamad
一般會員 發表:2 回覆:3 積分:1 註冊:2004-06-02 發送簡訊給我 |
|
Ktop_Robot
站務副站長 發表:0 回覆:3511 積分:0 註冊:2007-04-17 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |