RatioMaster_source.RM.createRegularSocket C# (CSharp) Method

createRegularSocket() private method

private createRegularSocket ( ) : Socket
return Socket
        private Socket createRegularSocket()
        {
            Socket socket1 = null;
            try
            {
                socket1 = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
            }
            catch (Exception exception1)
            {
                AddLogLine("createSocket error: " + exception1.Message);
            }

            return socket1;
        }