Skip to content

Commit

Permalink
Update 2.1
Browse files Browse the repository at this point in the history
BUG-FIX
  • Loading branch information
danrom11 committed Jan 21, 2021
1 parent 511a1b2 commit 1633c52
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Application-Connector.deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"targets": {
".NETStandard,Version=v2.0": {},
".NETStandard,Version=v2.0/": {
"Application-Connector/2.0": {
"Application-Connector/2.1": {
"dependencies": {
"NETStandard.Library": "2.0.3"
},
Expand All @@ -24,7 +24,7 @@
}
},
"libraries": {
"Application-Connector/2.0": {
"Application-Connector/2.1": {
"type": "project",
"serviceable": false,
"sha512": ""
Expand Down
Binary file modified Application-Connector.dll
Binary file not shown.
Binary file modified Application-Connector.pdb
Binary file not shown.
13 changes: 7 additions & 6 deletions Connector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ private void ReceiveCallback(IAsyncResult AR)
{
Socket current = (Socket)AR.AsyncState;
int received;

sendMsg = false;

try
{
received = current.EndReceive(AR);
Expand Down Expand Up @@ -264,18 +265,18 @@ private void ConnectToServer()
try
{
attempts++;
Console.WriteLine("Connection attempt " + attempts);
//Console.WriteLine("Connection attempt " + attempts);
// Change IPAddress.Loopback to a remote IP to connect to a remote host.
ClientSocket.Connect(_IPAdrees, _PORT);
}
catch (SocketException)
{
Console.Clear();
// Console.Clear();
}
}

Console.Clear();
Console.WriteLine("Connected");
// Console.Clear();
//Console.WriteLine("Connected");
}

public string Request(string text)
Expand All @@ -292,7 +293,7 @@ public void ClientDisconnect()
SendString("@exit");
ClientSocket.Shutdown(SocketShutdown.Both);
ClientSocket.Close();
Environment.Exit(0);
//Environment.Exit(0);
}

/// <summary>
Expand Down

0 comments on commit 1633c52

Please sign in to comment.