Displaying 1 result from an estimated 1 matches for "nbt_session_head".
Did you mean:
nbt_session_header
2006 Aug 25
0
Session request packet
...)
Reason=0x8F
Unspecified error 0x8F
why is the Destination field empty??
what is CALLED NAME ????
/***************************************************************************/
#include <iostream.h>
#include <stdlib.h>
#include <netdb.h>
#include <netinet/in.h>
struct NBT_Session_Header
{
unsigned char type;
unsigned char flags;
unsigned short length;
};
struct NBT_NAME
{
char name[32];
};
struct NBT_Request
{
struct NBT_Session_Header NBTSessionHeader;
NBT_NAME called;
NBT_NAME calling;
};
int connectHost(const char* szHost, int iPort);
int sendNBT(void...