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 / C++ / MFC
  4. Connecting to multiple servers thru single port client connection

Connecting to multiple servers thru single port client connection

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++sysadminquestion
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
    Sivaji
    wrote on last edited by
    #1

    Hey i am using CSocket class in MFC. My program(client) should connect to multiple servers. I am using single port at client to connect.It's connecting to the first server successfully.For second server while connecting it's failing. The error code it's returning is 0x00002748. What's the meaning of this error code. Is it possible to connect from the same port to multiple servers.If possible pls help me.Is there any problem with CSocket class?? Thanks

    P 1 Reply Last reply
    0
    • S Sivaji

      Hey i am using CSocket class in MFC. My program(client) should connect to multiple servers. I am using single port at client to connect.It's connecting to the first server successfully.For second server while connecting it's failing. The error code it's returning is 0x00002748. What's the meaning of this error code. Is it possible to connect from the same port to multiple servers.If possible pls help me.Is there any problem with CSocket class?? Thanks

      P Offline
      P Offline
      palbano
      wrote on last edited by
      #2

      Sivaji wrote: What's the meaning of this error code. "A connect request was made on an already connected socket." For anyone learning Windows Sockets development. http://www.sockets.com/[^]

      "No matter where you go, there your are." - Buckaroo Banzai

      -pete

      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