Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Socket question

Socket question

Scheduled Pinned Locked Moved C#
questionsysadminxml
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Steve Messer
    wrote on last edited by
    #1

    I need someone to point me into a direction. I need to be able to accomplish the following ( request/response ): 1) send an xml document to an ip address and a specific port 2) listen for the response document also an XML document. Upon recieving the request document the connection is broken imediately. After the XML server is ready to return the reply document, a new connection is established using an address supplied with the orginal request. BTW I am new to sockets so please be patient with me. Things I need to do? 1) open socket to server and steam the xml request doc to the server. 2) Listen and capture the response document and write it to disk.

    S 1 Reply Last reply
    0
    • S Steve Messer

      I need someone to point me into a direction. I need to be able to accomplish the following ( request/response ): 1) send an xml document to an ip address and a specific port 2) listen for the response document also an XML document. Upon recieving the request document the connection is broken imediately. After the XML server is ready to return the reply document, a new connection is established using an address supplied with the orginal request. BTW I am new to sockets so please be patient with me. Things I need to do? 1) open socket to server and steam the xml request doc to the server. 2) Listen and capture the response document and write it to disk.

      S Offline
      S Offline
      Stefan Troschuetz
      wrote on last edited by
      #2

      Take a look at the MSDN docs for the Socket[^] class and its members. They provide many code examples which should give you a starting point.


      www.troschuetz.de

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups