9, July, 1996 - Sanjay
----------------------
Changes made for SPX integration
--------------------------------

1. In VRTRWSTR.H included structure entry to init SPX
2. In VNVRAM.H include declaration of spx_configuration_table and reference
   to the "SPX Transport" header string
3. Include SPX.LIB in MTRLIBS in STORE directory
4. Create a makefile
5. Copied defs.h and included in all .c files
6. Changed <kipx.h> in spx.h to "..\ipx\kipx.h"
7. Changed <vipxstr.h> in spx.h to "..\ipx\vipxstr.h"
8. In SOCKET directory modified USER_SOCKET 'tcp_connection_initiated'
    field to 'connection_initiated' in vsockstr.h
9. Added an enum from a later version of socket library code by RouterWare
   to ksocket.h to allow proper compile of SPX code.
10. Included the ENDSTATN.LIB in the link process as it has some func's 
   used by SPX
11. include #define IPX_FILTERING in defs.h of endstation code.


10, July, 1996 - Sanjay
-----------------------
1. spxutil.c, spx_open_socket() -- added the line

   *usptr_socket = dynamic_socket;

   just before returning so as to return the new value adopted. Else
   things would work only for a well-known socket.

24, July, 1996 - Sanjay
-----------------------
Made following fixes in the API interface

1. In the spx_terminate_connection(), spx_listen_for_sequenced_packets() and 
   spx_send_sequenced_packets(), added code to set the completion code 
   field of the ECB to SPX_SUCCESSFUL.

2. Modified the way disconnect works drastically. Earlier disconnect used
   an internal ECB ignoring the provided ECB. In addition it never informed
   the ECB owner via an ESR. Also it cancelled pending calls internally 
   without calling the ECB's ESR.

   In the process modified
	- spxconn.c, spx_terminate_connection() - added line linking in
 	  the terminate_ecb to list of ecb's maintained by the session
	  table entry.
	- kspx.h -- introduced new type SPX_INTERNAL_DISCONNECT_PACKET
	  for enum SPX_PACKET_TYPE. 
	- spxtx.c, spx_send_packet() -- added case 
	  SPX_INTERNAL_DISCONNECT_PACKET. Also modified check for adding
	  completion function to use this instead of SPX_DISCONNECT_PACKET.
	- spxtx.c, spx_internal_transmit_disconnect() -- modified to
	  use SPX_INTERNAL_DISCONNECT_PACKET instead of SPX_DISCONNECT_PACKET.
	- vspxstat.h -- modified state machine so that in the state
	  SPX_CONNECTED, on STOP_CONNECTION event, call the function
	  spx_transmit_disconnect, instead of spx_internal_transmit_disconnect
	- spxconn.c, spx_transmit_disconnect() -- added extra parameter at end
	  modified the prototypes in vspxstr.h too.
	- same as above for spx_transmit_disconnect_ack()
	- spxconn.c - modified the original delete_session() function and
	  added new function cleanup_session() to support this
	- vspxstat.h - modified the state machine so that in the states
	  TX_DATA_NO_ACK_TIMEOUT (send retries failed) or SPX_TX_WATCHDOG_TIMEOUT
	  (watchdog detected connection failure), the function 
	  spx_abort_session() is called instead of the function
	  spx_internal_transmit_disconnect() being called earlier.
	  Correspondingly the next state is also changed.
	- spxconn.c -- modified the function spx_abort_session to be
	  the same as spx_delete_session but with the SPX_ABORT... 
	  completion code in posted ECB's

31, July, 1996
--------------
1. Remove NLSP #define from SPX.H

1, August, 1996
---------------
1. spxconn.c, get_session_using_connection_id() -- added another check
   (to check if remote connection ID is valid) to prevent returning a
   listening entry.
2. spxrx.c, spx_listen_for_connection () -- added new parameter 
   sptr_disconnect_ecb and usage code.

5, August, 1996
---------------
modifed state machine so that once disconnect rx ack is sent, abort session
is called instead of delete session.

8, August, 1996
---------------
changed location of printf telling if no ECB to receive data, spxrx.c

28, August, 1996
----------------
the end of message bit was being set on sending disconnect ack. as per
specs it should not be set.
when sending disconnect ack, sequence number should be set to 0.
spx_transmit_disconnect_ack(), spxconn.c -- increased the remote_ack_number
so that ack number on sending the disconnect ack will be one more than
the incoming sequence number


Sachin :
---------------
	SPX connection_control word handling. The end_of_message bit should
not be looked at. check_connection_control_bits().


Vidy 11/01/1997
---------------
	kickstart_transmit_queues() changed to handle the allocation number
and ackn.. number feilds.

Naveen 05/02/1997
----------------
	SPXCONN.C : spx_abort_session().
	The post routine for the termination was never being called.

Naveen 10/06/1997
----------------
*1. spxtimer.c -> some execute_state_machine_calls
*2. SPXAPI.C -> spx_listen_for_data  check wheteher call 'build listen ecb is successful
*3. spxtx.c -> spx_send_internal_packet .In this function move the printf inside the if block.
*4. spxrx.c ->  Very IMP 
	move the below statement after if 
 "sptr_session->previous_unacked_packet = sptr_rx_ecb "  
4.5 init this to sptr_session->previous_unacked_packet to null .
*5. spxlapi.c ->  in function "build_listen_connect_ecb" put the printf after hecking for null
*6. spxlapi.c -> if vptr_buffer is NULL  check it out man check it out
