c# - NoBufferSpaceAvailable when sending data to socket -
i use on connected socket on server send data client:
iasyncresult asyncres = connectionsocket.beginsend(data, 0, length, socketflags.none, out error, new asynccallback(senddatadone), signalwhendatasent);
as seems, when there slow internet connection between server , client receive exception description this: nobufferspaceavailable
what error mean ? internal os buffer socket connectionsocket
full ? means make work. context appears in http proxy server. might indicate, i suppose, rate @ data coming origin server higher rate server can handle proxy client. how deal ?
i using tcp.
the way fix problem correlate way 1 reads 1 socket speed 1 writes other socket because if no buffering cannot write socket @ higher speed client connected @ end can read.
you 1 uses synchronous sockets problem not appear because block long operation still pending not case async calls.
Comments
Post a Comment