[DGD]1.1.53
sampsa at netsonic.fi
sampsa at netsonic.fi
Sun Mar 21 15:27:47 CET 1999
Hello, I am having troubles with binary connections and the Dworkin's
kernel library. I traced the problem back to connection.c where there is
message() function:
int message(string str)
{
if ..
return (send_message(str) == strlen(str));
..
}
The document for vanilla DGD says:
For binary connections, send_message() will return the lenght of the
string if it could be sent right away, a number indicating how much of
the string could be sent initially ...
For telnet connections, send_message() will always return the length of
the string sent.
Network package:
The function will return 0 if there is room for more messages, and 1 if
not. ..
Which case this connection object is designed to serve?
Also, the connection object totally lacks send_message(-1) capability
used with network package.
How about if I set user object from port object, why is the login called
before the connection call from port is finished. This way one cannot send
any data without callout, because the message function is not functional
until the connection is fully established and the thread
started by connection() has returned the connection object. The open
thread would be logical place for it.
I know some of these are network package specific problems, I think I
still think bad support is sometimes worse than no support. I wish I could
use the kernel lib as it comes and not have to make n modifications to it
and notice you've changed the whole thing in next release: I would gladly
use it unmodified if it were truly possible, it would give a stable base
for development.
- Sampsa Ranta
sampsa at netsonic.fi
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list