IPX Boardcast problem

IPX Boardcast problem


[ Follow Ups ] [ Post Followups ] [ FAQ ]
[ Back to Messages ]

Posted by falong on March 28, 2002 at 22:06:24:

In a LAN,the servers are using Netware,and workstations are using Dosˇ˘Win98ˇ˘WinNt or Win2000.They are all setuped with IPX/SPX protocol.The servers bind Ethernet 802.2 and Ehternet 802.3 or others to assign multi-network .
I wrote a program using IPX Protocol in the LAN refered above.The program includes two section.One Boardcasts some data.
Another receives these data.The problem is some workstations receive repetitive packets , some receive no packets , some
lost several packets,and others are right.
In the sending program I defined:
typedef struct IPXAddress
{
unsigned char net[4];
unsigned char node_address_type[6];
unsigned short socket;
};
typedef struct IPXHead
{
unsigned short checksum; // = 0xffff;
unsigned short length;
unsigned char transport_contol;
unsigned char packet_type; //= 0x04
unsigned char dest_net[4]; //Accordint to actual condition , assigned the network address.
unsigned char dest_node[6]; //Assigned 0xff,0xff,0xff,0xff,0xff,0xff
unsigned short dest_socket; //Assigned destination corresponding socket.
unsigned char source_net[4]; //Accordint to actual condition , assigned the source network address.
unsigned char source_node[6]; //Assigned source node address.
unsigned short source_socket; //Assigned source corresponding socket.
};
typedef struct ECB
{
unsigned short link[2];
unsigned long ESR;
unsigned char in_use;
unsigned char complete;
unsigned short socket;
unsigned char IPX_work[4];
unsigned char D_work[12];
unsigned char immediate_address[6]; //using IPX_GetLocalAddress() To getting the immediate address.
unsigned short fragment_count;
unsigned long fragment_data;
unsigned short fragment_size;
};

Workstations specified ipx/spx frame type to be auto, and received many repeative packets.Sometimes workstations specified ipx/spx frame type to be Ethernet 802.3 and works well.But in general , Users hope that the workstations specified to be auto .How to modify my program.
Thank you! Good Luck!


Follow Ups:


Post a Followup

Please note:
  • Messages must be on the topic of this forum!
  • No posting of requests for cracks, codes, serials, or warez!
  • No posting of illegal software or links to such sites!
  • No use of profanity or inappropriate or offensive language!
  • Spamming is not allowed!
  • We track the IP addresses of forum abusers!
  • Abuse of this forum will be reported to your ISP!
Name:
E-Mail (optional):
please note: your e-mail address will be visible in your message.

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL: