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 Error

Socket Error

Scheduled Pinned Locked Moved C#
helpdata-structures
4 Posts 4 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.
  • M Offline
    M Offline
    mahesvs
    wrote on last edited by
    #1

    Hi all, I am transfering a 200mb data from my socket program to the client and i have the following error during execution. I guess it because of the huge data but am not sure in rectifying the issue. I have given the error below "An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full" Thanks Maheshkumar B

    R P 2 Replies Last reply
    0
    • M mahesvs

      Hi all, I am transfering a 200mb data from my socket program to the client and i have the following error during execution. I guess it because of the huge data but am not sure in rectifying the issue. I have given the error below "An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full" Thanks Maheshkumar B

      R Offline
      R Offline
      Rob Philpott
      wrote on last edited by
      #2

      Never seen it before but it sounds like buffer overrrun. Are you using streams so that you only work with small parts of the whole data continuously or attempting to do everything at the end?

      Regards, Rob Philpott.

      N 1 Reply Last reply
      0
      • M mahesvs

        Hi all, I am transfering a 200mb data from my socket program to the client and i have the following error during execution. I guess it because of the huge data but am not sure in rectifying the issue. I have given the error below "An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full" Thanks Maheshkumar B

        P Offline
        P Offline
        Programm3r
        wrote on last edited by
        #3

        Problem is caused by a recent windows patch. If you remove patch KB948609 the client side deserialization will except large datasets again. Or move to WCF as your transport method. Read more at: EggHeadCafe[^] Kind regards,

        The only programmers that are better C# programmers, are those who look like this -> :bob:

        :)Programm3r My Blog: ^_^

        1 Reply Last reply
        0
        • R Rob Philpott

          Never seen it before but it sounds like buffer overrrun. Are you using streams so that you only work with small parts of the whole data continuously or attempting to do everything at the end?

          Regards, Rob Philpott.

          N Offline
          N Offline
          Neezha
          wrote on last edited by
          #4

          Thanks for the Reply Rob I am new to socket programming I am trying send all the data in a single iteration. I need to separate the data in to several segments to make sure the buffer is not full. but don't know how to do 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