Home > Archive > Smalltalk > December 2007 > VAST 5.5.2 wsock32.dll
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
VAST 5.5.2 wsock32.dll
|
|
| Louis LaBrunda 2007-12-13, 7:18 pm |
| Hi All,
I'm using VAST 5.5.2 to build NT services on win2k and having a problem with
100% CPU usage. One of my services forks a bunch of processes that try to
TCP/IP connect (via Totally Objects Socket Set) to my other NT services. I'm as
sure as I can be that any code that is looping on checking for a connection is
waiting with a Delay, so as not to use a lot of CPU time.
I am wondering if wsock32.dll (used by #SciSocketManager) is thread safe? Can
more than one call be made to wsock32.dll to do a connect without waiting for
the first to return?
Any help/insight is greatly appreciated. Thanks in advance.
Lou
-----------------------------------------------------------
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:Lou@Keystone-Software.com http://www.Keystone-Software.com
| |
| Normand Mongeau 2007-12-13, 7:18 pm |
| Here's what MSDN says:
"Under Windows NT and Windows 2000, Windows Sockets support for 16-bit
applications is based on WINSOCK.DLL. For 32-bit applications, the support
is in WSOCK32.DLL. The APIs provided are identical except that the 32-bit
versions have parameters widened to 32 bits. Under Win32, thread safety is
supplied."
Normand
"Louis LaBrunda" <Lou@Keystone-Software.com> wrote in message
news:ffo2m3tk7m9fjr14c3g2j7nmrnkm5m2aij@
4ax.com...
> Hi All,
>
> I'm using VAST 5.5.2 to build NT services on win2k and having a problem
> with
> 100% CPU usage. One of my services forks a bunch of processes that try to
> TCP/IP connect (via Totally Objects Socket Set) to my other NT services.
> I'm as
> sure as I can be that any code that is looping on checking for a
> connection is
> waiting with a Delay, so as not to use a lot of CPU time.
>
> I am wondering if wsock32.dll (used by #SciSocketManager) is thread safe?
> Can
> more than one call be made to wsock32.dll to do a connect without waiting
> for
> the first to return?
>
> Any help/insight is greatly appreciated. Thanks in advance.
>
> Lou
> -----------------------------------------------------------
> Louis LaBrunda
> Keystone Software Corp.
> SkypeMe callto://PhotonDemon
> mailto:Lou@Keystone-Software.com http://www.Keystone-Software.com
|
|
|
|
|