added message logger / builder floaters

This commit is contained in:
Hazim Gazov
2010-05-05 17:08:05 -03:00
parent 97359b901f
commit 25fe391f07
20 changed files with 2276 additions and 13 deletions

View File

@@ -55,6 +55,11 @@
#include "llhost.h"
#include "lltimer.h"
#include "indra_constants.h"
// <edit>
#include "llmessagelog.h"
#include "message.h"
// </edit>
#include "llsocks5.h"
@@ -421,6 +426,10 @@ S32 receive_packet(int hSocket, char * receiveBuffer)
// Returns TRUE on success.
BOOL send_packet(int hSocket, const char *sendBuffer, int size, U32 recipient, int nPort)
{
// <edit>
LLMessageLog::log(LLHost(16777343, gMessageSystem->getListenPort()), LLHost(recipient, nPort), (U8*)sendBuffer, size);
// </edit>
// Sends a packet to the address set in initNet
//
int nRet = 0;