[futurebasic] Re: [FB] Frustrating TCP Bug

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 1999 : Group Archive : Group : All Groups

From: Greg_Neagle@...
Date: Mon, 01 Feb 1999 21:17:13 -0800
In message ID <Pine.LNX.4.05.9902011922110.1630-100000@...> on
2/1/99, Brian Victor wrote:

:I thought that making the enterproc variables global fixed the crashes.  I
:guess it just caused enough memory to shift to make it seem like it.
:
:So after hours of trying various things and ending up with the same basic
:crash, I'm delegating this problem to the list. :)

Brian, I know this isn't the response you are looking for, but here's my two
cents anyway.

It is this precise sort of problem that made me choose not to use async
notification routines in my FutureBasic TCP code.  Instead, I choose to have NO
notification routines and simply poll for data arrived etc.  I'm sure you've
seen my sample TCP code.  It does work and is used in a large "real"
application (the one I'm typing in right now).

In other languages I've used, completion routines work fine.  It's just that
there are so many gotchas with PASCAL-style rountine in FB that I avoid them
whenever possible.

- sent via BulkRate (http://members.aol.com/gregneagle/bulkrate/)