When using sockets either SOCK_STREAM ( or SOCK_SEQPACKET ) and NSPROTO_SPX (
with Address Family AF_IPX), is there a way to send a zero-byte packet( i.e
only the SPX_header without any data ), I am trying to accomplish what can be
done
with the code segment below ?.
It seems like we can do this with Novell's NWIPXSPX Transport API by doing
this:
{
pkt.ecb.fragmentDescriptor[1].size = 0;
pkt.spxHdr.connectionControl | = SPX_END_OF_MESSAGE;
SpxSendSequencedPacket ( ...,..,.., pkt );
This sends out a zero-byte packet, with the SPX_END_OF_MESSAGE bit set.Quote:}
I have tried the winsock send(.... ) with a zero for the length, it
generates an unhandled kernel-mode exception on my NT.
Any suggestions/input/responses will be appreciated.
--
All opinions expressed here are mine and only mine!
--Ratna