Alte Quellcode bestand wiederhergestellt

This commit is contained in:
Damian Wessels
2024-08-28 17:15:53 +02:00
parent 6c216ca189
commit b566b0a201
5 changed files with 115 additions and 51 deletions

View File

@@ -90,7 +90,7 @@ namespace CardMarketBot
{
try
{
TcpClient client = new TcpClient("nas.cosysda.de", 4000);
TcpClient client = new TcpClient("huskyteufel.ddnss.de", 4000);
Write(client, string.Format("#TEST#{0}", verkaufsnummer));
EResult result = Read(client);
@@ -99,7 +99,7 @@ namespace CardMarketBot
return result == EResult.OK;
}
catch(SocketException)
catch(SocketException ex)
{
throw new SocketException();
}
@@ -107,7 +107,7 @@ namespace CardMarketBot
public bool Write(string verkaufsnummer)
{
TcpClient client = new TcpClient("nas.cosysda.de", 4000);
TcpClient client = new TcpClient("huskyteufel.ddnss.de", 4000);
Write(client, string.Format("#WRITE#{0}", verkaufsnummer));
EResult result = Read(client);
client.Client.Shutdown(SocketShutdown.Both);