Wrox Programmer Forums
|
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 10th, 2003, 08:54 AM
Registered User
 
Join Date: Jun 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Winsock error

While our program runs (with some FTP handling and some pings trought ICMP sockets) we get sometimes a (partial) system stop
I got this error in my log file, seems to be a lack of resources.

WSAENOBUFS
(10055) No buffer space available.
An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full

I see my application blows up with performance monitor and the number of threads are increasing. Probably because I open a new socket before the old one was closed completely.

Is there a way to check if a created socket has been closed down?
What are the most common booby traps in this style of programming?

Thanks,
Dries





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Winsock regedit Visual Basic 2005 Basics 2 January 17th, 2008 07:14 PM
Winsock control bug ratheeshpkr VB Components 3 May 29th, 2007 04:46 AM
Winsock ShadowSax Pro VB 6 0 August 23rd, 2006 10:07 PM
How to send ISO8583 message with winsock octoni Pro VB 6 2 July 8th, 2006 12:18 PM
How to Handle a Winsock Control in better way tinku Beginning VB 6 0 March 8th, 2004 01:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.