C# Class Chat_Server.ChatConnection

This controls the chat connection, when users are attempting to chat on the form. It also ensures that the connections is running properly. Precondition: The connection is running properly. Postcondition: None.
Show file Open project: ThomasMoreCollege/CinderellaMGS Class Usage Examples

Public Methods

Method Description
ChatConnection ( TcpClient tcpCon ) : System
CloseConnection ( ) : void

Private Methods

Method Description
AcceptClient ( ) : void

Method Details

ChatConnection() public method

public ChatConnection ( TcpClient tcpCon ) : System
tcpCon System.Net.Sockets.TcpClient
return System

CloseConnection() public method

public CloseConnection ( ) : void
return void