Click here to Skip to main content
15,879,326 members
Home / Discussions / C#
   

C#

 
AnswerRe: Import a C++ class to C# Pin
Xmen Real 2-Mar-09 5:59
professional Xmen Real 2-Mar-09 5:59 
GeneralRe: Import a C++ class to C# Pin
0x3c02-Mar-09 6:52
0x3c02-Mar-09 6:52 
AnswerRe: Import a C++ class to C# Pin
Perisic, Aleksandar2-Mar-09 6:29
Perisic, Aleksandar2-Mar-09 6:29 
QuestionFinding Process Path Pin
Lijo Rajan2-Mar-09 1:28
Lijo Rajan2-Mar-09 1:28 
AnswerRe: Finding Process Path [modified] Pin
ABitSmart2-Mar-09 2:10
ABitSmart2-Mar-09 2:10 
AnswerRe: Finding Process Path Pin
Luc Pattyn2-Mar-09 3:11
sitebuilderLuc Pattyn2-Mar-09 3:11 
GeneralRe: Finding Process Path Pin
ABitSmart2-Mar-09 3:46
ABitSmart2-Mar-09 3:46 
QuestionError :OnClientConnect : An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full Pin
ranandbe2-Mar-09 1:14
ranandbe2-Mar-09 1:14 
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 | :confused:

Please give me the solution....

friendly,
ranandbe

QuestionInsert a char in the beginning of the file using c# Pin
Member 5781892-Mar-09 1:10
Member 5781892-Mar-09 1:10 
AnswerRe: Insert a char in the beginning of the file using c# Pin
N a v a n e e t h2-Mar-09 1:22
N a v a n e e t h2-Mar-09 1:22 
GeneralRe: Insert a char in the beginning of the file using c# Pin
Member 5781892-Mar-09 2:51
Member 5781892-Mar-09 2:51 
GeneralRe: Insert a char in the beginning of the file using c# Pin
N a v a n e e t h2-Mar-09 15:33
N a v a n e e t h2-Mar-09 15:33 
QuestionInsert record Pin
Sajjad Leo2-Mar-09 1:05
Sajjad Leo2-Mar-09 1:05 
AnswerRe: Insert record Pin
Colin Angus Mackay2-Mar-09 2:29
Colin Angus Mackay2-Mar-09 2:29 
GeneralRe: Insert record Pin
Sajjad Leo2-Mar-09 17:50
Sajjad Leo2-Mar-09 17:50 
GeneralRe: Insert record Pin
Colin Angus Mackay2-Mar-09 21:35
Colin Angus Mackay2-Mar-09 21:35 
GeneralRe: Insert record Pin
Sajjad Leo2-Mar-09 23:13
Sajjad Leo2-Mar-09 23:13 
QuestionLimiting maximum connections Pin
invader822-Mar-09 1:00
invader822-Mar-09 1:00 
AnswerRe: Limiting maximum connections Pin
harold aptroot2-Mar-09 1:09
harold aptroot2-Mar-09 1:09 
AnswerRe: Limiting maximum connections Pin
Luc Pattyn2-Mar-09 3:16
sitebuilderLuc Pattyn2-Mar-09 3:16 
GeneralRe: Limiting maximum connections Pin
harold aptroot2-Mar-09 4:40
harold aptroot2-Mar-09 4:40 
GeneralRe: Limiting maximum connections Pin
invader822-Mar-09 4:35
invader822-Mar-09 4:35 
AnswerRe: Limiting maximum connections Pin
N a v a n e e t h2-Mar-09 1:16
N a v a n e e t h2-Mar-09 1:16 
GeneralRe: Limiting maximum connections Pin
invader822-Mar-09 4:46
invader822-Mar-09 4:46 
GeneralRe: Limiting maximum connections Pin
N a v a n e e t h2-Mar-09 15:32
N a v a n e e t h2-Mar-09 15:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.