Raised This Month: $ Target: $400
 0% 

[SOLVED] XMPP Auth Problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 07-26-2013 , 03:50   [SOLVED] XMPP Auth Problem
Reply With Quote #1

Im working on XMPP client for my server.
For client authorization im must encode "\x00{username}\x00{password}" string.
The problem is AMXX cuts string after 0x00 symbol.

Code:
formatex(auth,127,"%c%s%c%s",0x00,USER,0x00,PASSWORD)

The strlen(auth) give me 0.


How to do that? What i need to do for 0x00 do not cuting the string?
__________________
The functional way is the right way

Last edited by GordonFreeman (RU); 07-27-2013 at 03:09.
GordonFreeman (RU) is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode