This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
The Rest - Ask For Help / Re: Close a particular connection
« on: April 21, 2008, 10:53:25 AM »
Never mind.
For the close command I was not deleting my entry in the command queue. So it was stuck redoing the same command over and over and never responding to new requests/commands.
Oh well.
Thanks,
Rick
For the close command I was not deleting my entry in the command queue. So it was stuck redoing the same command over and over and never responding to new requests/commands.
Oh well.
Thanks,
Rick
2
The Rest - Ask For Help / Re: Close a particular connection
« on: April 18, 2008, 07:56:15 AM »
Hi Bruce,
Here is a little more info.
In the Process method I capture the data and connection information in a queue with this code:
case self.Packet.PacketType
of NET:SimpleAsyncOpenSuccessful
of NET:SimpleIdleConnection
of NET:SimplePartialDataPacket
orof NET:SimpleWholeDataPacket
MyString = self.packet.bindata[1 : size(MyString)]
RequestQueue.MyDataInfoGrp = MyString
RequestQueue.FromIP = self.packet.FromIP
RequestQueue.SockID = self.packet.SockID
RequestQueue.OnSocket = self.packet.OnSocket
ADD(RequestQueue)
The in the Event:Timer I process and remove the records from the RequestQueue.
For this particular command I am doing the following.
MyDataInfoGrp.Status = ERROR_SUCCESS
NetLicServer.PrepAndSend(RequestQueue.FromIP,RequestQueue.SockID,RequestQueue.OnSocket)
NetLicServer.CloseServerConnection(RequestQueue.OnSocket, RequestQueue.SockID)
I am getting the success status back in the client. If I load a new client it cannot connect to the server.
All of my other commands are working fine.
Any ideas?
Thanks,
Rick
Here is a little more info.
In the Process method I capture the data and connection information in a queue with this code:
case self.Packet.PacketType
of NET:SimpleAsyncOpenSuccessful
of NET:SimpleIdleConnection
of NET:SimplePartialDataPacket
orof NET:SimpleWholeDataPacket
MyString = self.packet.bindata[1 : size(MyString)]
RequestQueue.MyDataInfoGrp = MyString
RequestQueue.FromIP = self.packet.FromIP
RequestQueue.SockID = self.packet.SockID
RequestQueue.OnSocket = self.packet.OnSocket
ADD(RequestQueue)
The in the Event:Timer I process and remove the records from the RequestQueue.
For this particular command I am doing the following.
MyDataInfoGrp.Status = ERROR_SUCCESS
NetLicServer.PrepAndSend(RequestQueue.FromIP,RequestQueue.SockID,RequestQueue.OnSocket)
NetLicServer.CloseServerConnection(RequestQueue.OnSocket, RequestQueue.SockID)
I am getting the success status back in the client. If I load a new client it cannot connect to the server.
All of my other commands are working fine.
Any ideas?
Thanks,
Rick
3
The Rest - Ask For Help / Close a particular connection
« on: April 17, 2008, 01:05:53 PM »
Hi All,
I have a server application that accepts multiple connections from clients. I am storing the FromIP, SockID, and OnSocket values in a queue.
There are conditions where I want to close a particular client's connection but still leave the others running and be able to accept new requests.
I've tried using CloseServerConnection passing in the OnSocket and SockID fields from my queue. This seems to close down the server altogether. I cannot start a new client and connect. Is this the right method for this?
TIA,
Rick
I have a server application that accepts multiple connections from clients. I am storing the FromIP, SockID, and OnSocket values in a queue.
There are conditions where I want to close a particular client's connection but still leave the others running and be able to accept new requests.
I've tried using CloseServerConnection passing in the OnSocket and SockID fields from my queue. This seems to close down the server altogether. I cannot start a new client and connect. Is this the right method for this?
TIA,
Rick
4
E-Mail - Ask For Help / Re: sending email via SSL
« on: March 25, 2008, 07:59:51 AM »
I just tested with Nettalk 4.0 and it worked fine.
My client is still using Nettakl 3.x so that was what I was working with originally. It doesn't appear to work there.
I'll see about talking them into upgrading.
TIA,
Rick
My client is still using Nettakl 3.x so that was what I was working with originally. It doesn't appear to work there.
I'll see about talking them into upgrading.
TIA,
Rick
5
E-Mail - Ask For Help / Re: sending email via SSL
« on: March 24, 2008, 01:30:38 PM »
Here is the log from the send attempt. It looks like it is connecting.
[4840] [NetDLL] [1] NetTurnOnLogging() : Log All (/netdlllogall) option on
[4840] [NetDLL] ===== [NETTALK] ===============================================================================
[4840] [NetDLL] Using NetTalk DLL version = 3.40 in application c:\clarion6\util\fldemail\fldemail.exe : NetTalk DLL Logging turned On
[4840] [NetDLL] NetDLL Info: NetDLL:CompatableVersion = 12 Net:MaxBinData = 16384 MaxDataPacketSize = 16735 MaxICanDoPacketSize = 1254 MaxAckPacketSize = 9060 PacketInfoLen = 24 ICanDoHeaderLen = 68 DataHeaderLen = 108 AckHeaderLen = 60 AckDataLen = 9 MaxAcksInPackets = 1000 Size(Net:PacketType) = 17687 Size(Net:PublicServicesQType) = 599 Size(Net:ServiceType) = 1117 Size(Net:RemoteType) = 149
[4840] [NetDLL] NetTalk (DLL) using Clarion 6.2
[4840] [NetDLL] Windows Information. WindowsName = [Microsoft Windows XP] WindowsVersion = [5.1] WindowsBuildNumber = [2600] GetVersion = 5 GetVersionRelease = 1 Is_Term = 0 SystemRoot = C:\WINDOWS RegOrganization = . RegOwner = Rick Martin Up_Time = 6d 23h 12m
[4840] [NetDLL] NetDLL Info: GUID = 224748123 -467684114 RunID = 5397 Description = Rick Martin at .
[4840] [NetDLL] DLLStartUp() : About to call WSAStartUp
[4840] [NetDLL] DLLStartUp() : WSA Startup Okay : WinSock Asked Version = 2.0 WinSock Version = 2.0 HighVersion = 2.2 Description = WinSock 2.0 SystemStatus = Running Max Sockets Data Size = 0 Max DG Data Size = 0
[4840] [NetDLL] DLLStartUp() : Cool. WinSock version 2.0 supported.
[4840] [NetDLL] [1] GetIPList() : Using Host Name = moria and Host IP List = 192.168.10.175 172.16.1.34 172.16.1.33
[4840] [NetDLL] [2] NetGetUniqueEvent() : Unique event = 2053
[4840] [NetDLL] [2] WindowLoaderSrc() : Before Accept
[4840] [NetDLL] [2] WindowLoaderSrc() : About to open NetTalk CallBack Window. WindowLoaderThread = 2
[4840] [NetDLL] [2] WindowLoaderSrc() : In same function after start(CallBackWindowSrc). New thread = 3
[4840] [NetDLL] [2] WindowLoaderSrc() : If this is the last line you see in the DebugView ouput then the CriticalSection.Wait was nested twice or more. We were only expected it to be called once before this function was called.
[4840] [NetDLL] [3] CallBackWindowSrc() : Being called - will open (NetMainWindow)
[4840] [NetDLL] [3] CallBackWindowSrc() : Just before Accept!! Our thread() = 3
[4840] [NetDLL] [2] WindowLoaderSrc() : NetTalk Call Back Window Started Okay - received NETDLL:EVENT:CallBackWindowHappy
[4840] [NetDLL] [2] WindowLoaderSrc() : After Accept
[4840] [NetDLL] [2] WindowLoaderSrc() : After Close
[4840] [NetDLL] [2] RunTimeLoadProcedures_SSL() : About to run time load SSL functions (libssl32.dll & libeay32.dll) needed in NetTalk.
[4840] [NetDLL] [2] RunTimeLoadProcedures_SSL() : Loaded SSL functions.
[4840] [NetDLL] [2] RunTimeLoadProcedures_SSL() : SSL Version = OpenSSL 0.9.8 05 Jul 2005
[4840] [NetDLL] [2] SimpleClientOpen() : Requested Async DNS Lookup on HostName = [smtp.att.yahoo.com] will wait for reply.
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {837422} Count=1 p_wMsg = 49397 wParam = 0 (lParam = 0) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 0. p_hWnd = 2954454
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {837422} Attention. Received a message that isn't in one of our queues. p_wMsg = 49397
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {837422} End of Function - will call Return (CallWindowProc...)
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {837422} End of Function - will Return Call to ClientSavedProc
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {837422} loc:ret = 0
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {840201} Count=1 p_wMsg = 3109 wParam = 1 (lParam = 120) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 120. p_hWnd = 2954454
[4840] [NetDLL] [3] SimpleAsyncDNS() : Found details. Will try and open connection to smtp.att.yahoo.com (69.147.64.31) on port 465 SockID = 1
[4840] [NetDLL] [3] SimpleClearInQueue() : Start of function. IP = 69.147.64.31 Socket = 1692 SockID = 1
[4840] [NetDLL] [3] SimpleClearInQueue() : Normal check. (Nothing deleted)
[4840] [NetDLL] [3] SimpleClientOpenB() : SSL. About to init SSL.
[4840] [NetDLL] [3] SimpleClientOpenB() : Using TLSv1
[4840] [NetDLL] [3] SimpleClientOpenB() : SSL. Stage 1 complete.
[4840] [NetDLL] [3] SimpleClientOpenB() : Opening Simple Connection Asynchronously (Waiting for Async Messages). Connection To remote host = smtp.att.yahoo.com (69.147.64.31:465) Socket = 1692 SockID = 1 SSL = 1 AsyncMessage = 6180 Local Port = (0) NetMem:CountSimpleAsyncOpens = 1
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {840201} End of Function - will Return (1)
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {535863} Count=1 p_wMsg = 49397 wParam = 0 (lParam = 0) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 0. p_hWnd = 2954454
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {535863} Attention. Received a message that isn't in one of our queues. p_wMsg = 49397
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {535863} End of Function - will call Return (CallWindowProc...)
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {535863} End of Function - will Return Call to ClientSavedProc
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {535863} loc:ret = 0
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {154937} Count=1 p_wMsg = 6180 wParam = 1692 (lParam = 16) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 16. p_hWnd = 2954454
[4840] [NetDLL] [3] SimpleClient_Async - ProcessConnection() : This socket is connected using Local IP = 172.16.1.33
[4840] [NetDLL] [3] SimpleClient_Async - ProcessConnection() : Received SIMPLE_CLIENT-FD_CONNECT - Asychronous Connection Established. Socket = 1692 SockID = 1
[4840] [NetDLL] [3] SimpleClientPostConnectionStatus() : Posted Socket Successful Packet Notification to Thread = 2 Message = 2053 Reserved2 = 1
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {154937} End of Function - will Return (1)
[4840] [NetDLL] [2] NetSimpleConnectReceive() : (Client Mode) Attempting to receive stored packet on Socket = 0 SockID = 1 Host = smtp.att.yahoo.com(0.0.0.0) Port = 465
[4840] [NetDLL] [2] NetSimpleConnectReceive() : 1 of 1 of qSimpleInData OnSocket = 1692 SockID = 1 PacketType = 7 ServerPort = 0 ServerOnSocket = 0 ServerSockID = 0
[4840] [NetDLL] [2] NetSimpleConnectReceive() : This is the first time this connection is being accessed. Updated Socket to 1692 Internal IP = 69.147.64.31 LocalIPcstr = 172.16.1.33
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {526483} Count=1 p_wMsg = 49397 wParam = 0 (lParam = 0) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 0. p_hWnd = 2954454
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {526483} Attention. Received a message that isn't in one of our queues. p_wMsg = 49397
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {526483} End of Function - will call Return (CallWindowProc...)
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {526483} End of Function - will Return Call to ClientSavedProc
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {526483} loc:ret = 0
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {909119} Count=1 p_wMsg = 6180 wParam = 1692 (lParam = 2) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 2. p_hWnd = 2954454
[4840] [NetDLL] [3] SimpleClient_Async() : FD_WRITE Socket = 1692 SockID = 1
[4840] [NetDLL] [3] SimpleClientWrite() : Nothing to do for this Socket. records (qSimpleOutList) = 0
[4840] [NetDLL] [3] SimpleClientWrite() : Number of writes = 0 records (qSimpleOutList) = 0
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {909119} End of Function - will Return (1)
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : Before CloseInActiveNetAutoConnections().
[4840] [NetDLL] [3] CallBackWindowSrc() : After CloseInActiveNetAutoConnections().
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {716981} Count=1 p_wMsg = 49397 wParam = 0 (lParam = 0) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 0. p_hWnd = 2954454
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {716981} Attention. Received a message that isn't in one of our queues. p_wMsg = 49397
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {716981} End of Function - will call Return (CallWindowProc...)
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {716981} End of Function - will Return Call to ClientSavedProc
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {716981} loc:ret = 0
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {722594} Count=1 p_wMsg = 6180 wParam = 1692 (lParam = 658833440) = Loc:WSAGetSelect.Err = 10053 & Loc:WSAGetSelect.Event = 32. p_hWnd = 2954454
[4840] [NetDLL] [3] SimpleClient_Async() : Client FD_CLOSE. Connection Closed (hard) from Remote side. (10053) Message = 6180 Socket = 1692 SockID = 1
[4840] [NetDLL] [3] SimpleClient_Async - CloseTheSocket() : In CloseTheSocket
[4840] [NetDLL] [3] SimpleClient_Async - CloseTheSocket() : This socket was closed from the remote side - so we call shutdown (SD_SEND)
[4840] [NetDLL] [3] NetErrorStr() : Error (0) = General Winsock Error (unknown by NetErrorStr)
[4840] [NetDLL] [3] SimpleClient_Async - ReadData() : Number of Reads = 0
[4840] [NetDLL] [3] SimpleClient_Async - CreateClosedPacket() : Created a SocketClosed packet for the object to receive.
[4840] [NetDLL] [3] SimpleClient_Async - CreateClosedPacket() : Posted Socket Closed Packet Notification to Reserved2 = 2 Thread = 2 Message = 2053
[4840] [NetDLL] [3] SimpleClient_Async - CloseTheSocket() : Calling SetSockOpt. Linger = 1 3
[4840] [NetDLL] [3] SimpleClient_Async - CloseTheSocket() : Calling CloseSocket on socket=1692
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {722594} End of Function - will Return (1)
[4840] [NetDLL] [2] NetSimpleConnectReceive() : (Client Mode) Attempting to receive stored packet on Socket = 1692 SockID = 1 Host = smtp.att.yahoo.com(69.147.64.31) Port = 465
[4840] [NetDLL] [2] NetSimpleConnectReceive() : 1 of 1 of qSimpleInData OnSocket = 1692 SockID = 1 PacketType = 5 ServerPort = 0 ServerOnSocket = 0 ServerSockID = 0
[4840] [NetDLL] [2] NetSimpleConnectReceive() : NetSimple Socket Closed1 (from Remote side) Packet (not data) retrieved by Object from DLL FromIP = 69.147.64.31 OnSocket = 1692 SockID = 1 as packet 1 of 1 records in qSimpleInData
[4840] [NetDLL] [2] SimpleClientClosePhaseTwo() : (Second Phase). Called. Socket = 1692 SockID = 1
[4840] [NetDLL] [2] lookupSimpleClientSocket() : IP = 0.0.0.0 Socket = 1692 SockID = 1
[4840] [NetDLL] [2] SimpleClientClosePhaseTwo() : Clearing any queued packets for this connection
[4840] [NetDLL] [2] SimpleClearInQueue() : Start of function. IP = 0.0.0.0 Socket = 1692 SockID = 1
[4840] [NetDLL] [2] SimpleClearInQueue() : Normal check. (Nothing deleted)
[4840] [NetDLL] [2] SimpleClearOutQueues() : Start of function. IP = 0.0.0.0 Socket = 1692 SockID = 1
[4840] [NetDLL] [2] SimpleClearOutQueues() : Normal check. (Nothing deleted)
[4840] [NetDLL] [2] SimpleClientClosePhaseTwo() : Deleted record from qSimpleClientSockets. There are now 0 records in qSimpleClientSockets.
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : Before CloseInActiveNetAutoConnections().
[4840] [NetDLL] [3] CallBackWindowSrc() : After CloseInActiveNetAutoConnections().
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [1] NetTurnOnLogging() : Log All (/netdlllogall) option on
[4840] [NetDLL] ===== [NETTALK] ===============================================================================
[4840] [NetDLL] Using NetTalk DLL version = 3.40 in application c:\clarion6\util\fldemail\fldemail.exe : NetTalk DLL Logging turned On
[4840] [NetDLL] NetDLL Info: NetDLL:CompatableVersion = 12 Net:MaxBinData = 16384 MaxDataPacketSize = 16735 MaxICanDoPacketSize = 1254 MaxAckPacketSize = 9060 PacketInfoLen = 24 ICanDoHeaderLen = 68 DataHeaderLen = 108 AckHeaderLen = 60 AckDataLen = 9 MaxAcksInPackets = 1000 Size(Net:PacketType) = 17687 Size(Net:PublicServicesQType) = 599 Size(Net:ServiceType) = 1117 Size(Net:RemoteType) = 149
[4840] [NetDLL] NetTalk (DLL) using Clarion 6.2
[4840] [NetDLL] Windows Information. WindowsName = [Microsoft Windows XP] WindowsVersion = [5.1] WindowsBuildNumber = [2600] GetVersion = 5 GetVersionRelease = 1 Is_Term = 0 SystemRoot = C:\WINDOWS RegOrganization = . RegOwner = Rick Martin Up_Time = 6d 23h 12m
[4840] [NetDLL] NetDLL Info: GUID = 224748123 -467684114 RunID = 5397 Description = Rick Martin at .
[4840] [NetDLL] DLLStartUp() : About to call WSAStartUp
[4840] [NetDLL] DLLStartUp() : WSA Startup Okay : WinSock Asked Version = 2.0 WinSock Version = 2.0 HighVersion = 2.2 Description = WinSock 2.0 SystemStatus = Running Max Sockets Data Size = 0 Max DG Data Size = 0
[4840] [NetDLL] DLLStartUp() : Cool. WinSock version 2.0 supported.
[4840] [NetDLL] [1] GetIPList() : Using Host Name = moria and Host IP List = 192.168.10.175 172.16.1.34 172.16.1.33
[4840] [NetDLL] [2] NetGetUniqueEvent() : Unique event = 2053
[4840] [NetDLL] [2] WindowLoaderSrc() : Before Accept
[4840] [NetDLL] [2] WindowLoaderSrc() : About to open NetTalk CallBack Window. WindowLoaderThread = 2
[4840] [NetDLL] [2] WindowLoaderSrc() : In same function after start(CallBackWindowSrc). New thread = 3
[4840] [NetDLL] [2] WindowLoaderSrc() : If this is the last line you see in the DebugView ouput then the CriticalSection.Wait was nested twice or more. We were only expected it to be called once before this function was called.
[4840] [NetDLL] [3] CallBackWindowSrc() : Being called - will open (NetMainWindow)
[4840] [NetDLL] [3] CallBackWindowSrc() : Just before Accept!! Our thread() = 3
[4840] [NetDLL] [2] WindowLoaderSrc() : NetTalk Call Back Window Started Okay - received NETDLL:EVENT:CallBackWindowHappy
[4840] [NetDLL] [2] WindowLoaderSrc() : After Accept
[4840] [NetDLL] [2] WindowLoaderSrc() : After Close
[4840] [NetDLL] [2] RunTimeLoadProcedures_SSL() : About to run time load SSL functions (libssl32.dll & libeay32.dll) needed in NetTalk.
[4840] [NetDLL] [2] RunTimeLoadProcedures_SSL() : Loaded SSL functions.
[4840] [NetDLL] [2] RunTimeLoadProcedures_SSL() : SSL Version = OpenSSL 0.9.8 05 Jul 2005
[4840] [NetDLL] [2] SimpleClientOpen() : Requested Async DNS Lookup on HostName = [smtp.att.yahoo.com] will wait for reply.
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {837422} Count=1 p_wMsg = 49397 wParam = 0 (lParam = 0) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 0. p_hWnd = 2954454
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {837422} Attention. Received a message that isn't in one of our queues. p_wMsg = 49397
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {837422} End of Function - will call Return (CallWindowProc...)
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {837422} End of Function - will Return Call to ClientSavedProc
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {837422} loc:ret = 0
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {840201} Count=1 p_wMsg = 3109 wParam = 1 (lParam = 120) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 120. p_hWnd = 2954454
[4840] [NetDLL] [3] SimpleAsyncDNS() : Found details. Will try and open connection to smtp.att.yahoo.com (69.147.64.31) on port 465 SockID = 1
[4840] [NetDLL] [3] SimpleClearInQueue() : Start of function. IP = 69.147.64.31 Socket = 1692 SockID = 1
[4840] [NetDLL] [3] SimpleClearInQueue() : Normal check. (Nothing deleted)
[4840] [NetDLL] [3] SimpleClientOpenB() : SSL. About to init SSL.
[4840] [NetDLL] [3] SimpleClientOpenB() : Using TLSv1
[4840] [NetDLL] [3] SimpleClientOpenB() : SSL. Stage 1 complete.
[4840] [NetDLL] [3] SimpleClientOpenB() : Opening Simple Connection Asynchronously (Waiting for Async Messages). Connection To remote host = smtp.att.yahoo.com (69.147.64.31:465) Socket = 1692 SockID = 1 SSL = 1 AsyncMessage = 6180 Local Port = (0) NetMem:CountSimpleAsyncOpens = 1
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {840201} End of Function - will Return (1)
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {535863} Count=1 p_wMsg = 49397 wParam = 0 (lParam = 0) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 0. p_hWnd = 2954454
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {535863} Attention. Received a message that isn't in one of our queues. p_wMsg = 49397
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {535863} End of Function - will call Return (CallWindowProc...)
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {535863} End of Function - will Return Call to ClientSavedProc
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {535863} loc:ret = 0
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {154937} Count=1 p_wMsg = 6180 wParam = 1692 (lParam = 16) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 16. p_hWnd = 2954454
[4840] [NetDLL] [3] SimpleClient_Async - ProcessConnection() : This socket is connected using Local IP = 172.16.1.33
[4840] [NetDLL] [3] SimpleClient_Async - ProcessConnection() : Received SIMPLE_CLIENT-FD_CONNECT - Asychronous Connection Established. Socket = 1692 SockID = 1
[4840] [NetDLL] [3] SimpleClientPostConnectionStatus() : Posted Socket Successful Packet Notification to Thread = 2 Message = 2053 Reserved2 = 1
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {154937} End of Function - will Return (1)
[4840] [NetDLL] [2] NetSimpleConnectReceive() : (Client Mode) Attempting to receive stored packet on Socket = 0 SockID = 1 Host = smtp.att.yahoo.com(0.0.0.0) Port = 465
[4840] [NetDLL] [2] NetSimpleConnectReceive() : 1 of 1 of qSimpleInData OnSocket = 1692 SockID = 1 PacketType = 7 ServerPort = 0 ServerOnSocket = 0 ServerSockID = 0
[4840] [NetDLL] [2] NetSimpleConnectReceive() : This is the first time this connection is being accessed. Updated Socket to 1692 Internal IP = 69.147.64.31 LocalIPcstr = 172.16.1.33
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {526483} Count=1 p_wMsg = 49397 wParam = 0 (lParam = 0) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 0. p_hWnd = 2954454
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {526483} Attention. Received a message that isn't in one of our queues. p_wMsg = 49397
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {526483} End of Function - will call Return (CallWindowProc...)
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {526483} End of Function - will Return Call to ClientSavedProc
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {526483} loc:ret = 0
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {909119} Count=1 p_wMsg = 6180 wParam = 1692 (lParam = 2) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 2. p_hWnd = 2954454
[4840] [NetDLL] [3] SimpleClient_Async() : FD_WRITE Socket = 1692 SockID = 1
[4840] [NetDLL] [3] SimpleClientWrite() : Nothing to do for this Socket. records (qSimpleOutList) = 0
[4840] [NetDLL] [3] SimpleClientWrite() : Number of writes = 0 records (qSimpleOutList) = 0
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {909119} End of Function - will Return (1)
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : Before CloseInActiveNetAutoConnections().
[4840] [NetDLL] [3] CallBackWindowSrc() : After CloseInActiveNetAutoConnections().
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {716981} Count=1 p_wMsg = 49397 wParam = 0 (lParam = 0) = Loc:WSAGetSelect.Err = 0 & Loc:WSAGetSelect.Event = 0. p_hWnd = 2954454
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {716981} Attention. Received a message that isn't in one of our queues. p_wMsg = 49397
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {716981} End of Function - will call Return (CallWindowProc...)
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {716981} End of Function - will Return Call to ClientSavedProc
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {716981} loc:ret = 0
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {722594} Count=1 p_wMsg = 6180 wParam = 1692 (lParam = 658833440) = Loc:WSAGetSelect.Err = 10053 & Loc:WSAGetSelect.Event = 32. p_hWnd = 2954454
[4840] [NetDLL] [3] SimpleClient_Async() : Client FD_CLOSE. Connection Closed (hard) from Remote side. (10053) Message = 6180 Socket = 1692 SockID = 1
[4840] [NetDLL] [3] SimpleClient_Async - CloseTheSocket() : In CloseTheSocket
[4840] [NetDLL] [3] SimpleClient_Async - CloseTheSocket() : This socket was closed from the remote side - so we call shutdown (SD_SEND)
[4840] [NetDLL] [3] NetErrorStr() : Error (0) = General Winsock Error (unknown by NetErrorStr)
- [4840]
- [4840]
[4840] [NetDLL] [3] SimpleClient_Async - ReadData() : Number of Reads = 0
[4840] [NetDLL] [3] SimpleClient_Async - CreateClosedPacket() : Created a SocketClosed packet for the object to receive.
[4840] [NetDLL] [3] SimpleClient_Async - CreateClosedPacket() : Posted Socket Closed Packet Notification to Reserved2 = 2 Thread = 2 Message = 2053
[4840] [NetDLL] [3] SimpleClient_Async - CloseTheSocket() : Calling SetSockOpt. Linger = 1 3
[4840] [NetDLL] [3] SimpleClient_Async - CloseTheSocket() : Calling CloseSocket on socket=1692
[4840] [NetDLL] [3] CallBackWindowClientCallBack() : {722594} End of Function - will Return (1)
[4840] [NetDLL] [2] NetSimpleConnectReceive() : (Client Mode) Attempting to receive stored packet on Socket = 1692 SockID = 1 Host = smtp.att.yahoo.com(69.147.64.31) Port = 465
[4840] [NetDLL] [2] NetSimpleConnectReceive() : 1 of 1 of qSimpleInData OnSocket = 1692 SockID = 1 PacketType = 5 ServerPort = 0 ServerOnSocket = 0 ServerSockID = 0
[4840] [NetDLL] [2] NetSimpleConnectReceive() : NetSimple Socket Closed1 (from Remote side) Packet (not data) retrieved by Object from DLL FromIP = 69.147.64.31 OnSocket = 1692 SockID = 1 as packet 1 of 1 records in qSimpleInData
[4840] [NetDLL] [2] SimpleClientClosePhaseTwo() : (Second Phase). Called. Socket = 1692 SockID = 1
[4840] [NetDLL] [2] lookupSimpleClientSocket() : IP = 0.0.0.0 Socket = 1692 SockID = 1
[4840] [NetDLL] [2] SimpleClientClosePhaseTwo() : Clearing any queued packets for this connection
[4840] [NetDLL] [2] SimpleClearInQueue() : Start of function. IP = 0.0.0.0 Socket = 1692 SockID = 1
[4840] [NetDLL] [2] SimpleClearInQueue() : Normal check. (Nothing deleted)
[4840] [NetDLL] [2] SimpleClearOutQueues() : Start of function. IP = 0.0.0.0 Socket = 1692 SockID = 1
[4840] [NetDLL] [2] SimpleClearOutQueues() : Normal check. (Nothing deleted)
[4840] [NetDLL] [2] SimpleClientClosePhaseTwo() : Deleted record from qSimpleClientSockets. There are now 0 records in qSimpleClientSockets.
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : Before CloseInActiveNetAutoConnections().
[4840] [NetDLL] [3] CallBackWindowSrc() : After CloseInActiveNetAutoConnections().
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
[4840] [NetDLL] [3] CallBackWindowSrc() : Start of Timer
[4840] [NetDLL] [3] CallBackWindowSrc() : End Timer ----
6
E-Mail - Ask For Help / sending email via SSL
« on: March 24, 2008, 01:12:31 PM »
Has anyone used Nettalk to send email using SSL?
From the documentation it looks like I only need to set SecureEmail to true
and the correct port.
I'm getting a "server closed the connection" error.
The same settings in Outlook work OK.
The smtp sever I'm connecting to smtp.att.yahoo.com via port 465, if that helps.
TIA,
Rick
From the documentation it looks like I only need to set SecureEmail to true
and the correct port.
I'm getting a "server closed the connection" error.
The same settings in Outlook work OK.
The smtp sever I'm connecting to smtp.att.yahoo.com via port 465, if that helps.
TIA,
Rick
Pages: [1]