Not logged in. · Lost password · Register
Forum: Announcements RSS
Page: previous  1  2 
Avatar
Alex #16
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
hi,

this is very weird.
This Mono.Security.dll is compiled under windows and VS.NET. So there should be no dependencies to Mono at all.
Did you add references to the agsXMPP.dll and the Mono.Security.dll in the Client?

Alex
Alexander Gnauck
AG-Software
Avatar
alexnaldocs #17
Member since Sep 2005 · 9 posts
Group memberships: Members
Show profile · Link to this post
:(  If I use the "Mono.Security.dll" the MiniClient doesn't work.

 :idea:  Remember that I said when the MiniClient is closed it continue running in "Task Manager" ?

Well, in file "KXmlParser.cs" line 1137 you have :

nw = reader.Read();

It run into another thread created in line 67 from file "StreamParser.cs"

The method "read" block the thread waiting for data into socket, so closing the MiniClient will not "finish" the thread and notify the Garbage Collection.

I'm creating a bidiretional socket framework that will separe the socket from another things...so, we can create a power XMPP Server/Client using async message.

What do you thing ?

I'm creating a XMPP Server.
Avatar
Alex #18
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hi,

The parser thread will exit after the xmpp server closed the stream correctly. But we have seen many xmpp servers that are not compliant and never send the closing stream back to the client. Is this case the parser is waiting for the end stream and blocks.

Im currently in a total rewrite of the socket stuff and parser thread. i will use async sockets and dont read from a networl stream. It will read from a own Piped Stream class. This will also fix the problem with buggy servers because i can close my stream when the socket disconnects. I still have some problems with StartTLS and Mono.Security.

But im also very interested at your framework.

Alex
Alexander Gnauck
AG-Software
Avatar
alexnaldocs #19
Member since Sep 2005 · 9 posts
Group memberships: Members
Show profile · Link to this post
Hi,

Download the framework at www.lanma.com.br/download/sockets.zip

See the Server and Client example using bidiretional.

You will see that we can change to use into your great component.

Thanks,
Alexnaldo Santos
Avatar
ediatreyu #20
Member since Aug 2005 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: Re: new client sample added
hi Alex, the link with the sample in   VB that you give me is very simple I really need a miniclient exactly like yours but in Vb, please could you help me with that, please  I really need it, thanks.............. :wink:
Avatar
Alex #21
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
sharpdevelop has a pretty good converter for c# <--> vb. Did you try this one to convert the classes in the mini client?
When i find some free minutes then i convert the mini client to vb.
For now just ask here when smth is unclear for you.

Alex
Alexander Gnauck
AG-Software
Avatar
Alex #22
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Subject: Re: new client sample added
hi ediatreyu and all other vb programmers,

Quote by "ediatreyu":
hi Alex, the link with the sample in   VB that you give me is very simple I really need a miniclient exactly like yours but in Vb, please could you help me with that, please  I really need it, thanks.............. :wink:

i converted the MiniClient sample to vb .NET and added it to the samples zip file. So just download the samples again.

Alex
Alexander Gnauck
AG-Software
Avatar
ediatreyu #23
Member since Aug 2005 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: Re: new client sample added
thanks a lot, the vb miniclient is very usefull for me,   :-D .................
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page: previous  1  2