Skip to content

Commit

Permalink
proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivanchenko Nikita committed Aug 22, 2022
1 parent f82b331 commit 0ddac2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/proxy.os
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

ТСПСервер = Новый TCPСервер(3333);
ПортЦели = 3331;
ХостЦели = "localhost";

ТСПСервер.Запустить();

Expand All @@ -21,7 +22,7 @@

Сообщить(ПолучитьСтрокуИзДвоичныхДанных(ТекстЗапроса));

СоединениеИСХ = Новый TCPСоединение("localhost", ПортЦели);
СоединениеИСХ = Новый TCPСоединение(ХостЦели, ПортЦели);

СоединениеИСХ.ОтправитьДвоичныеДанные(ТекстЗапроса);

Expand Down

0 comments on commit 0ddac2c

Please sign in to comment.