線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:9099
推到 Plurk!
推到 Facebook!

請教這各錯誤訊息 Socket Error # 11001

答題得分者是:st33chen
lovemari
中階會員


發表:134
回覆:224
積分:76
註冊:2005-08-18

發送簡訊給我
#1 引用回覆 回覆 發表時間:2008-11-26 17:11:28 IP:122.116.xxx.xxx 訂閱
小弟跑下列程式段出現 Socket Error # 11001

想請教 是那裡錯了嗎??

[code delphi]
procedure TForm1.Button2Click(Sender: TObject);

begin
IdMessage1.From.Text := 'ALARM.SYSTEM';
IdMessage1.Recipients.EMailAddresses := 'EricL@tw.com';
IdMessage1.Subject := TimeToStr(Time) ' 發生不良率超出標準';
//TIdAttachment.Create(IdMessage1.MessageParts, 'C:\ERROR.BMP');
IdSMTP1.Host := 'tw.com';
IdSMTP1.Port := 25;
IdSMTP1.Username := 'EricL';
IdSMTP1.Password := '12345';
IdSMTP1.Connect;
try
IdSMTP1.Send(IdMessage1);
Except
ShowMessage('發送失敗');
end;
IdSMTP1.Disconnect;
end;

[/code]





------
Program : Delphi 7
DataBase : Oracle 9i
Client : ClientDataSet
編輯記錄
lovemari 重新編輯於 2008-11-26 17:13:00, 註解 無‧
lovemari 重新編輯於 2008-11-26 17:14:08, 註解 無‧
lovemari 重新編輯於 2008-11-26 17:14:44, 註解 無‧
lovemari 重新編輯於 2008-11-26 17:15:19, 註解 無‧
st33chen
尊榮會員


發表:15
回覆:591
積分:1201
註冊:2005-09-30

發送簡訊給我
#2 引用回覆 回覆 發表時間:2008-11-26 17:48:58 IP:122.116.xxx.xxx 未訂閱
copy 來的:

出现网络联机错误Socket error #11001
表示您的计算机无法连上服务器,请检查您的Proxy设定以及Proxy相关账号,或暂时取消您防毒软件的「个人防火墙」。

The following Socket errors reported in Trace Log of config screen:

Socket error 10004 - Interrupted function call
Socket error 10013 - Permission denied
Socket error 10014 - Bad address
Socket error 10022 - Invalid argument
Socket error 10024 - Too many open files
Socket error 10035 - Resource temporarily unavailable
Socket error 10036 - Operation now in progress
Socket error 10037 - Operation already in progress
Socket error 10038 - Socket operation on non-socket
Socket error 10039 - Destination address required
Socket error 10040 - Message too long
Socket error 10041 - Protocol wrong type for socket
Socket error 10042 - Bad protocol option
Socket error 10043 - Protocol not supported
Socket error 10044 - Socket type not supported
Socket error 10045 - Operation not supported
Socket error 10046 - Protocol family not supported
Socket error 10047 - Address family not supported by protocol family
Socket error 10048 - Address already in use
Socket error 10049 - Cannot assign requested address
Socket error 10050 - Network is down
Socket error 10051 - Network is unreachable
Socket error 10052 - Network dropped connection on reset
Socket error 10053 - Software caused connection abort
Socket error 10054 - Connection reset by peer
Socket error 10055 - No buffer space available
Socket error 10056 - Socket is already connected
Socket error 10057 - Socket is not connected
Socket error 10058 - Cannot send after socket shutdown
Socket error 10060 - Connection timed out
Socket error 10061 - Connection refused
Socket error 10064 - Host is down
Socket error 10065 - No route to host
Socket error 10067 - Too many processes
Socket error 10091 - Network subsystem is unavailable
Socket error 10092 - WINSOCK.DLL version out of range
Socket error 10093 - Successful WSAStartup not yet performed
Socket error 10094 - Graceful shutdown in progress
Socket error 11001 - Host not found
Socket error 11002 - Non-authoritative host not found
Socket error 11003 - This is a non-recoverable error
Socket error 11004 - Valid name, no data record of requested type
------
IS IT WHAT IT IS
我是 李慕白 請倒著唸.
又想把老話拿出來說, 請用台語發音 : 專家專家全是ROBOT CAR (滷肉腳啦);
都已接手這麼久了, 績效還是那麼爛, 講話還那麼大聲.
編輯記錄
st33chen 重新編輯於 2008-11-26 17:51:20, 註解 無‧
系統時間:2024-05-15 22:44:55
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!