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. CAsyncSocket Client/server

CAsyncSocket Client/server

Scheduled Pinned Locked Moved C / C++ / MFC
helporaclesysadmindebugging
1 Posts 1 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.
  • V Offline
    V Offline
    VBZ
    wrote on last edited by
    #1

    hi, I am in a gr8 trouble. I am making a client server application using ASync sockets with oracle as backend. Every thing is working fine but the problem is with closing the connection after it's use completes. i.e. when for the first time client connects to the server he is able to log in and send the data but after that is any client tries to log in then server gives the Assssertion failure error in line 177 winsock on ignoring the error the client works fine but if this happens server cannot log in the clients automatically. if there is a way to ignore this failuer or what i feel abt error is that once the socket is closed and after that if some body tries to give it gives a invaled socket error this was found out when i tried to debug the error. tell me what i can do to solve the problem. can this be due to the single m_sConnection socket i have used that when closed closes everything but there is another socket cvariacle ie m_sListenSocket that i have iused to accept connections ie m_sListensocket.accept(m_sconnectionsocket). help me to understnd it

    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