Hi Alt,
I have implemented your component successfully for several SMSC's however I have encountered a tricky one which will not allow me to bind, I have included the SmppClientDemo log below and wondered if you had any suggestions on my next step to troubleshoot the reason behind the failure, thanks in advance. (I downloaded the most recent version of the DLL from your site today)
15:41:21: SmppClient connected
15:41:21: Binding SmppClient for SystemId: <replaced id>
15:42:21: Bad status returned during Bind : BindTransceiverResp with status SMPPCLIENT_RCVTIMEOUT
15:42:21: Sending Data: 0000002e000000090000000015b0cf346176616e71756573745f3734353333006271713372614644000034000000
15:42:21: SmppClient disconnected
Regards
Nick
BindTransceiverResp with status SMPPCLIENT_RCVTIMEOUT
Moderator: alt
BindTransceiverResp with status SMPPCLIENT_RCVTIMEOUT
ProcessFlows UK Ltd
http://www.processflows.co.uk/
http://www.processflows.co.uk/
Also you can trace System.Net.
In the file SmppClientDemo.exe.config add following xml inside <configuration></configuration>
<system.diagnostics>
<sources>
<source name="System.Net">
<listeners>
<add name="System.Net"/>
</listeners>
</source>
<source name="System.Net.Sockets">
<listeners>
<add name="System.Net"/>
</listeners>
</source>
<source name="System.Net.Cache">
<listeners>
<add name="System.Net"/>
</listeners>
</source>
</sources>
<switches>
<add name="System.Net" value="31"/>
<add name="System.Net.Sockets" value="Verbose" />
<add name="System.Net.Cache" value="Verbose" />
</switches>
<sharedListeners>
<add name="System.Net"
type="System.Diagnostics.TextWriterTraceListener"
initializeData="system_net.log"
/>
</sharedListeners>
<trace autoflush="true" />
</system.diagnostics>
In the file SmppClientDemo.exe.config add following xml inside <configuration></configuration>
<system.diagnostics>
<sources>
<source name="System.Net">
<listeners>
<add name="System.Net"/>
</listeners>
</source>
<source name="System.Net.Sockets">
<listeners>
<add name="System.Net"/>
</listeners>
</source>
<source name="System.Net.Cache">
<listeners>
<add name="System.Net"/>
</listeners>
</source>
</sources>
<switches>
<add name="System.Net" value="31"/>
<add name="System.Net.Sockets" value="Verbose" />
<add name="System.Net.Cache" value="Verbose" />
</switches>
<sharedListeners>
<add name="System.Net"
type="System.Diagnostics.TextWriterTraceListener"
initializeData="system_net.log"
/>
</sharedListeners>
<trace autoflush="true" />
</system.diagnostics>
-
- Posts: 1
- Joined: Wed Dec 24, 2008 3:27 am
i meet the same problem.
system.net.log:
system.net.log:
Code: Select all
System.Net.Sockets Verbose: 0 : [1908] DNS::GetHostEntry(10.11.1.60)
System.Net.Sockets Verbose: 0 : [1908] Exiting DNS::GetHostEntry() -> IPHostEntry#34948909
System.Net.Sockets Verbose: 0 : [1908] Socket#46104728::Socket(InterNetwork#2)
System.Net.Sockets Verbose: 0 : [1908] Exiting Socket#46104728::Socket()
System.Net.Sockets Verbose: 0 : [1908] Socket#46104728::BeginConnect(60:7800#1006703986)
System.Net.Sockets Verbose: 0 : [1908] Exiting Socket#46104728::BeginConnect() -> ConnectAsyncResult#12289376
System.Net.Sockets Verbose: 0 : [3100] Socket#46104728::EndConnect(ConnectAsyncResult#12289376)
System.Net.Sockets Verbose: 0 : [3100] Exiting Socket#46104728::EndConnect()
System.Net.Sockets Verbose: 0 : [1908] Socket#46104728::BeginReceive()
System.Net.Sockets Verbose: 0 : [1908] Exiting Socket#46104728::BeginReceive() -> OverlappedAsyncResult#43495525
System.Net.Sockets Verbose: 0 : [1908] Socket#46104728::BeginSend()
System.Net.Sockets Verbose: 0 : [1908] Exiting Socket#46104728::BeginSend() -> OverlappedAsyncResult#55915408
System.Net.Sockets Verbose: 0 : [3100] Data from Socket#46104728::PostCompletion
System.Net.Sockets Verbose: 0 : [3100] 00000000 : 00 00 00 23 00 00 00 09-00 00 00 00 30 7E 69 3A : ...#........0~i:
System.Net.Sockets Verbose: 0 : [3100] 00000010 : 36 33 30 30 31 38 00 6A-7A 77 68 78 74 00 00 34 : 630018.jzwhxt..4
System.Net.Sockets Verbose: 0 : [3100] 00000020 : 00 00 00 : ...
System.Net.Sockets Verbose: 0 : [3100] Socket#46104728::EndSend(OverlappedAsyncResult#55915408)
System.Net.Sockets Verbose: 0 : [3100] Exiting Socket#46104728::EndSend() -> 35#35
System.Net.Sockets Verbose: 0 : [3100] Socket#46104728::EndReceive(OverlappedAsyncResult#43495525)
System.Net.Sockets Error: 0 : [3100] Exception in the Socket#46104728::EndReceive - 远程主机强迫关闭了一个现有的连接。
System.Net.Sockets Verbose: 0 : [3100] Exiting Socket#46104728::EndReceive() -> 0#0
System.Net.Sockets Verbose: 0 : [3100] Socket#46104728::Shutdown(Both#2)
System.Net.Sockets Verbose: 0 : [3100] Exiting Socket#46104728::Shutdown()
System.Net.Sockets Verbose: 0 : [3100] Socket#46104728::Close()
System.Net.Sockets Verbose: 0 : [3100] Socket#46104728::Dispose()
System.Net.Sockets Verbose: 0 : [3100] Exiting Socket#46104728::Close()