Thak--Networking

SendPacket  (Mike Del Giudice, based on NetLib function)
    Purpose: To Send the player Packet, the player structure, to the opposing players.
    Outputs: Broadcasts the structure to the other players in the group.
    Notes: This function was based on the function in the NetLib directory.  The only changes were the size of the packet
               and the data being sent.

NetPost (Mike Del Giudice)
    Purpose: To store the packet sent from the opposing player.  Will only accept a packet from the player you start the game
                  with.
    Inputs: The packet from the opposing player.
    Output: If the packet is from another player on the network, nothing occurs.  If the packet is from the opposing player, than
                it is stored in the OtherUnits structure recursively.

NetRelease (NetLib function)
    Purpose: Releases player names and connections from the server.

NetInit (NetLib Function)
    Purpose: Establishes group server name on the LAN.  Server assigns unique player name.  Initializes NetPost function to be
                  called when packet is received.


Back to Main