[DGD] Hooks
Ben Chambers
bjchamb at bellsouth.net
Mon Mar 17 05:34:08 CET 2003
> > Also, how do you tell what port the incoming connection is on?
>
> Bare-bones DGD will pass an integer to telnet_connect or
> binary_connect. That integer is an offset into the array of ports you
> gave it in the config file. For instance, if you have only one telnet
> port and only one binary port, the number will always be 0.
It will? Then how come the definition of the function is object
telnet_connect() and not object telnet_connect(int index). Also, how come
in the DGD source telnet port and binary port can be stored in integers?
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list