Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6997569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:18:00+00:00 2026-05-27T20:18:00+00:00

I am working on a xmpp chat application for windows phone 7. It receives

  • 0

I am working on a xmpp chat application for windows phone 7.

It receives xmpp packets through the stream. Now I need to parse the xml content which comes through sockets.

For windows phone 7 we do not have SAX like parser which sits on the stream and provides us with packets.

We do not have network stream, TCP client available in windows phone 7.

\because the content comes through the stream in packets I need a stream in which I could write data on the fly.

We have a xmlreader but does not work if I use memory stream .

Do we have a SAX like parser Which could read the xml content from the socket and parse the xml content?

Please help me on how to parse the xml content coming from sockets.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:18:00+00:00Added an answer on May 27, 2026 at 8:18 pm

    XmlReader should work absolutely fine on a MemoryStream – but remember that when you’ve written to the stream you need to “rewind” it before you start reading from it:

    var stream = new MemoryStream();
    // Potentially several times...
    stream.Write(...);
    
    // Rewind to the start of the stream
    stream.Position = 0;
    
    // Now read from the stream
    

    Note that you don’t need to use XmlReader explicitly – calling XDocument.Load(Stream) works fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a chat application. I need to display friends list in
I am working on an application for windows phone 7. I have a to
I'm working on a design for a xmpp chat solution which involves some servers
I am working on a server application which receives data over a TCP socket
I'm working on an online PHP application that has a need for delayed PHP
I am android developer. I am working on a Android application creating a Chat
I am working on an application that is receiving XMPP notifications using the Matrix
I am working on android chat application. I am facing a problem in send
Working with dates in ruby and rails on windows, I'm having problems with pre-epoch
Working with an Oracle 9i database from an ASP.NET 2.0 (VB) application using OLEDB.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.