Discussion:
NT Backhand Broadcaster
Dave Smith
2004-01-22 14:33:02 UTC
Permalink
Hi,

Have modified a couple of pieces of code to get NT Backhand Broadcaster to
talk nicely to the moderator under the latest release.

Two files changed (Attached) :
NTServerStats.h - (You'll see my notes)
broadcast.cpp - (transmit function - add padding for 64bit time and load old
sockaddr_in data elements)

I am not really a C/C++ coder, so it isn't too pretty, (be nice), it does
however work.

Hope this helps someone.

Dave Smith


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Theo Schlossnagle
2004-01-22 14:54:29 UTC
Permalink
Post by Dave Smith
Have modified a couple of pieces of code to get NT Backhand
Broadcaster to talk nicely to the moderator under the latest release.
NTServerStats.h - (You'll see my notes)
broadcast.cpp - (transmit function - add padding for 64bit time and
load old sockaddr_in data elements)
I am not really a C/C++ coder, so it isn't too pretty, (be nice), it
does however work.
I'll apply these with Rob's go ahead.
--
// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// Postal Engine -- http://www.postalengine.com/
// Ecelerity: fastest MTA on earth
Rob Butler
2004-01-22 21:56:34 UTC
Permalink
The patches look good, you can apply them. I would prefer if some of the
extra un-needed comments were removed.

I double checked and the broadcast structure in mod_backhand did change
between version 1.2.1 and 1.2.2, and this is what caused NTBHB to have the
problem. It would be nice if there were notes added to the mod_backhand
serverstat.h file to remind future developers that changes to that structure
should be replicated in NTServerStats.h, and also related NT BHB code should
be modified too.

Thanks for the contrib Dave.

Later
Rob
Post by Theo Schlossnagle
Post by Dave Smith
Have modified a couple of pieces of code to get NT Backhand
Broadcaster to talk nicely to the moderator under the latest release.
NTServerStats.h - (You'll see my notes)
broadcast.cpp - (transmit function - add padding for 64bit time and
load old sockaddr_in data elements)
I am not really a C/C++ coder, so it isn't too pretty, (be nice), it
does however work.
I'll apply these with Rob's go ahead.
--
// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// Postal Engine -- http://www.postalengine.com/
// Ecelerity: fastest MTA on earth
_______________________________________________
backhand-users mailing list
http://lists.backhand.org/mailman/listinfo/backhand-users
Loading...