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. Error :OnClientConnect : An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full

Error :OnClientConnect : An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full

Scheduled Pinned Locked Moved C#
csharpsysadmindata-structureshelpquestion
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.
  • R Offline
    R Offline
    ranandbe
    wrote on last edited by
    #1

    Hi, I have using sockets to communicating with our client applications. In the server application Listener i mentioned backlog 200 but most of the times the connection queue holds below 100 requests only. In this case some times when client try to connect .Net throw an error which says the queue was full. After that Listener will not take any new connections and it just close socket immediatly. ListenSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); IPEndPoint ipLocal = new IPEndPoint(IPAddress.Any, 4098); ListenSocket.Bind(ipLocal); ListenSocket.Listen(200); ListenSocket.BeginAccept(new AsyncCallback(OnClientConnect), null); Error: [OnClientConnect]->

    An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full

    I dont understand what is happening there............:confused: Please give me the solution....

    friendly, ranandbe

    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