BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

No buffer space avaliable

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Rafael Crivellari Saliba
Guest





PostPosted: Thu Nov 20, 2003 11:59 am    Post subject: No buffer space avaliable Reply with quote




Hi,
I'm creating a program to control a LAN.
But the client parts are passive, I mean, the users doesn't choose what
he want to do on the server.
So I've writen a code that sends a ping to each one of these computers
to know if they are running the software.
This works ok until I try to send a ping to a big number of computers
(higher than 100) and I get the following error, even if these computers
are not available and the timeout occurs:

Exception EidSocketError in module ETHERCOP_SERVER.EXE at 0009E62C.
Socket Error # 10055
No buffer space avaliable.


Here is the part of the code that executes this function

IP is passed as a parameter to the procedure e has the IP of the
computer to be pinged;
LoggedIP is a TStringList that store the IP that has been pinged without
errors.
All this is called into a loop structure.

try
cidtcpPingaAlunos.Host := Ip;
cidtcpPingaAlunos.Connect(100);
if Connected then
begin
LoggedIP.Add(Ip);
cidtcpPingaAlunos.WriteLn(LocalIp);
Disconnect;
end;
except
end;

Please I need a solution for this problem without big changes on the
code because the project is almost finishing and I'll can't change this
function completely

Thanks!

Rafael Crivellari Saliba Schouery

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.