XSF logo jdev - 2020-01-24


  1. Zash has left
  2. Neustradamus has left
  3. Neustradamus has joined
  4. sonny has left
  5. pulkomandy has left
  6. sonny has joined
  7. sonny has left
  8. sonny has joined
  9. kikuchiyo has left
  10. pulkomandy has joined
  11. sonny has left
  12. sonny has joined
  13. paul has joined
  14. sonny has left
  15. asterix has joined
  16. wurstsalat has joined
  17. asterix has left
  18. asterix has joined
  19. asterix has left
  20. asterix has joined
  21. asterix has left
  22. asterix has joined
  23. Zash has joined
  24. pulkomandy has left
  25. goffi has joined
  26. sonny has joined
  27. lovetox has joined
  28. sonny has left
  29. sonny has joined
  30. sonny has left
  31. lovetox has left
  32. lovetox has joined
  33. kikuchiyo has joined
  34. sonny has joined
  35. larma has left
  36. debacle has joined
  37. larma has joined
  38. debacle has left
  39. debacle has joined
  40. hilfskoch has joined
  41. hilfskoch has left
  42. sonny has left
  43. kikuchiyo has left
  44. kikuchiyo has joined
  45. lovetox has left
  46. sonny has joined
  47. lovetox has joined
  48. sonny has left
  49. kikuchiyo has left
  50. sonny has joined
  51. sonny has left
  52. sonny has joined
  53. kikuchiyo has joined
  54. lovetox has left
  55. Guus What clients support MAM in MUC, including features that lets you search through archives based on time, author, keywords?
  56. goffi Guus: SàT's CLI frontend (jp) allows you to search MAM based on time and authors, but not keywords (do we have a standardized field for that?)
  57. Ge0rG goffi: it has been just submitted to the XSF
  58. Ge0rG goffi: https://xmpp.org/extensions/inbox/fulltext.html
  59. goffi OK good news, I'll add it soon then.
  60. goffi Guus: you have documentation at https://salut-a-toi.org/__b/doc/sat/jp/message.html#mam
  61. Guus tx!
  62. pep. goffi, "Retrieve messages from last 5 hours on SàT official chat room:", the code below says "2h ago"
  63. goffi yes, I've just seen too, I've patched the doc, it will be fixed next time I update the website. Thanks for the notice.
  64. goffi pep.: ^
  65. pep. :)
  66. rajkumar has joined
  67. rajkumar how to communicate the XMPP client (using Smack Libraries) to localhost server
  68. rajkumar how to communicate the XMPP client (using Smack Libraries) to localhost server Please suggest me guys..
  69. Guus rajkumar If I recall correctly, you can specify the connect host when you set up the connection in Smack
  70. Guus final XMPPTCPConnectionConfiguration.Builder builder = XMPPTCPConnectionConfiguration.builder() .setXmppDomain("example.org") .setHost("localhost") .performSaslAnonymousAuthentication() .setSecurityMode(ConnectionConfiguration.SecurityMode.disabled); final XMPPTCPConnection connection = new XMPPTCPConnection(builder.build()); try { connection.connect(); connection.login(); } finally { connection.disconnect(); }
  71. Guus something like that?
  72. Guus this does an anonymous login, which must be enabled on the server.
  73. Guus also, it disables security, which obviously is not... secure.
  74. sonny has left
  75. rajkumar Thanks for your response i setup the connection with local host IP address but connection is not happend my code is..
  76. rajkumar XMPPTCPConnectionConfiguration Config = XMPPTCPConnectionConfiguration.builder() .setUsernameAndPassword("rajk@localhost", "12345") .setHost("192.168.1.9") .setSecurityMode(ConnectionConfiguration.SecurityMode.disabled) //.setServiceName("localhost") // .setHost("localhost") .setPort(5280) .setDebuggerEnabled(true) // to view what's happening in detail .build(); //Set up the ui thread broadcast message receiver. //setupUiThreadBroadCastMessageReceiver(); //Set up the ui thread broadcast message receiver. setupUiThreadBroadCastMessageReceiver(); mConnection = new XMPPTCPConnection(Config); mConnection.addConnectionListener(this); try { Log.d(TAG, "Calling connect() "); mConnection.connect(); mConnection.login(mUsername,mPassword); Log.d(TAG, " login() Called "); } catch (InterruptedException e) { e.printStackTrace(); }
  77. Guus that suggests that your xmpp domain name is 'localhost'
  78. Guus which probably is not true.
  79. Guus also, you may need to set .setXmppDomain("example.org") explicitly
  80. Guus (use the domain name of your server, obviously)
  81. sonny has joined
  82. rajkumar my ejabbered local host name is admin@locahost
  83. rajkumar could u Please suggest some reference link for client and server communication
  84. Guus reconfigure your server to use anything but 'localhost' as the domain name.
  85. Guus Using 'localhost' is very confusing when networking is in play.
  86. Guus even simply using the hostname of your computer is an improvement, as at least that is resolvable.
  87. Guus also, you should be aware of the distinction between the concept of hostname and xmpp domain name.
  88. Guus they can have the same value, but that does not need to be the case.
  89. Guus the xmpp domain name is part of the JID (user identifier), while the hostname is used when creating a TCP connection to the server.
  90. Sharuk has joined
  91. rajkumar Tks..
  92. Guus np
  93. Sharuk hello i am also facing the same problem. Can you send me the full coding of Client server communication Sir
  94. Guus I just did.
  95. Guus https://logs.xmpp.org/jdev/2020-01-24#2020-01-24-5180d1123b5db103
  96. Sharuk i dono how to connect the client with server
  97. Sharuk are you there?
  98. Guus Yes. I don't know what more I can tell you.
  99. Sharuk In my coding so many error if u send urs i wll put it in mine and i will check it.
  100. Sharuk if u have any samples send me
  101. moparisthebest did you happen to click the link with the full code example from 20 minutes ago?
  102. Sharuk yeah i seen bt i cant understand
  103. moparisthebest anything in particular or
  104. rajkumar has left
  105. Sharuk i want server communication coding bruh
  106. moparisthebest and that's what you got
  107. Guus Sharuk I'd be happy to help, but you're not giving me much to go on.
  108. Guus I gave you a coding example that should work for the Smack library - but I'm not even sure if that's what you're using.
  109. Sharuk is it?? this is the full coding for connecting the server with client prgm
  110. Guus it'll connect. Doesn't do anything, but you'll have an active connection.
  111. Sharuk i took the coding from this link :--->>https://www.blikoontech.com/tutorials/android-smack-xmpp-introductionbuilding-a-simple-client
  112. Sharuk but it is not working
  113. lovetox has joined
  114. Guus I don't have the time to read through the tutorial and figure out what you might have done wrong.
  115. Guus Well, I do have the time - but I don't want to.
  116. Guus Seems that it also includes video - have you looked at that?
  117. Guus Maybe reach out to the author - he left his contact information on that page.
  118. Guus You could also post questions in the online community for Smack, over at www.igniterealtime.org
  119. Sharuk it is paid one so i cant watch the video
  120. Guus I do advice you to be more specific in your questions though. No-one can help you if you ask very generic questions.
  121. Sharuk ok sry for asking these silly questions
  122. Sharuk bcoz i dono what to do with these
  123. pulkomandy has joined
  124. debacle has left
  125. sonny has left
  126. kikuchiyo has left
  127. kikuchiyo has joined
  128. lovetox has left
  129. Sharuk has left
  130. debacle has joined
  131. rajkumar has joined
  132. sonny has joined
  133. rajkumar has left
  134. kikuchiyo has left
  135. Alex has left
  136. Alex has joined
  137. kikuchiyo has joined
  138. sonny has left
  139. lovetox has joined
  140. kikuchiyo has left
  141. rajkumar has joined
  142. pulkomandy has left
  143. pulkomandy has joined
  144. rajkumar has left
  145. Alex has left
  146. Alex has joined
  147. debacle has left
  148. sonny has joined
  149. pulkomandy has left
  150. kikuchiyo has joined
  151. lovetox has left
  152. pulkomandy has joined
  153. debacle has joined
  154. lovetox has joined
  155. pulkomandy has left
  156. pulkomandy has joined
  157. Neustradamus has left
  158. kikuchiyo has left
  159. sonny has left
  160. lovetox has left
  161. lovetox has joined
  162. sonny has joined
  163. pulkomandy has left
  164. wurstsalat has left
  165. wurstsalat has joined
  166. wurstsalat has left
  167. wurstsalat has joined
  168. pulkomandy has joined
  169. sonny has left
  170. debacle has left
  171. sonny has joined
  172. sonny has left
  173. pulkomandy has left
  174. pulkomandy has joined
  175. debacle has joined
  176. kikuchiyo has joined
  177. debacle has left
  178. debacle has joined
  179. sonny has joined
  180. lovetox has left
  181. lovetox has joined
  182. paul has left
  183. kikuchiyo has left
  184. kikuchiyo has joined
  185. sonny has left
  186. kikuchiyo has left
  187. wurstsalat has left
  188. paul has joined
  189. wurstsalat has joined
  190. pulkomandy has left
  191. pulkomandy has joined
  192. paul has left
  193. kikuchiyo has joined
  194. wurstsalat has left
  195. kikuchiyo has left
  196. pulkomandy has left
  197. sonny has joined
  198. paul has joined
  199. pulkomandy has joined
  200. wurstsalat has joined
  201. wurstsalat has left
  202. wurstsalat has joined
  203. wurstsalat has left
  204. wurstsalat has joined
  205. sonny has left
  206. kikuchiyo has joined
  207. lovetox is Extended Stanza Addressing well supported?
  208. lovetox by servers
  209. kikuchiyo has left
  210. Zash Not that I'm aware
  211. pulkomandy has left
  212. pulkomandy has joined
  213. kikuchiyo has joined
  214. Guus Openfire does
  215. Zash TIL in that case
  216. Zash I wrote https://modules.prosody.im/mod_addressing.html for Prosody loooooooooooooong ago but I was never aware of anyone using it for anything ever
  217. wurstsalat has left
  218. wurstsalat has joined
  219. debacle has left
  220. kikuchiyo has left
  221. debacle has joined
  222. debacle has left
  223. debacle has joined
  224. pulkomandy has left
  225. pulkomandy has joined
  226. kikuchiyo has joined
  227. kikuchiyo has left
  228. kikuchiyo has joined
  229. kikuchiyo has left
  230. debacle has left
  231. debacle has joined
  232. kikuchiyo has joined
  233. sonny has joined
  234. lovetox has left
  235. debacle has left
  236. debacle has joined
  237. sonny has left