
GPF when loading Dolphin Systems TCP/IP control
Quote:
>Hello all
>I am trying to use the Dolphin Systems dsSocket TCP/IP control (DSSOCK.OCX)
>with VB4-32 for messaging between apps running on a LAN. As my app
>supports multiple client connections, I am using a control array of
>dsSockets. The problem I am having is that when I load more than about 5
>controls in this array, it GPFs. This happens if I load the controls at
>run time or even at design time.
>If there is anyone who uses dsSocket, who has struck this problem and found
>a way to avoid it, I would be grateful for your comments.
We have also run into these GPF's but not in this way. We can
successfully load 100 instances without problem. Our problem seems to
relate to closing an instance. If the instance is closed by the client
using "hard close" (line=true, timer=0) it will occur after apx 80-500
sessions. If using garceful close (Linger=true, timeout=10) no
problems are found.
An importent note. After an instance is closed, make sure you don't
unload it to quickly, othewise it doesn't clean it's stack correctly.
Let a timer unload it after some seconds.
regards Stig