Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
alexey_gusev #1
Member since Oct 2010 · 10 posts
Group memberships: Members
Show profile · Link to this post
Subject: Any example of using SOCK5 for binary transfers?
Hello Alex,

could you please point me in right direction on using SOCKS5 with matrix mobile? I need to transfer binary files over xmpp, so if I use FileTransferManager or bluntly send a message as base64Encoded string then it works but obviously not as fast as I want due to base64 overheads.

I've read here on forums that it's possible to use SOCKS5 instead. If yes, how? Is there any existing support in Matrix? Or perhaps some example code or implementation?

BR,
AlexG
Avatar
Alex #2
Member since Feb 2003 · 4307 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hello,

there is currently no support in the FileTransferManager for SOCkS5 transfers. This is on my TODO list for one of the next updates.
In the MiniClient example of agsXMPP there is complete example code for a SOCKS5 transfer. So you could port over this example to MatriX.

Alex
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:
Forum: MatriX RSS