Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
TCP
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //vytvorenie TCP clienta TcpClient tcpClient = new TcpClient(); tcpClient.Connect(ipaddress, port); byte[] bytes = new byte[2500]; byte[] b = new byte[] { 0x02, 0x02, 0x02, 0x02, 0x00, 0x00, 0x00, 0x05, 0x73, 0x52, 0x49, 0x00, 0x62, 0x0a }; NetworkStream stream = tcpClient.GetStream(); //toto je problém stream.Write(b, 0, b.Length); // tu dačo musí byť System.Threading.Thread.Sleep(600); stream.Read(bytes, 0, bytes.Length); } } }
run
|
edit
|
history
|
help
0
String Factorial Sorter
Test
pointer
User Defined Exception (Inherited from built-in Exception class)
Dokkan Awaken Calculator 1.1
Free Tiktok Fans Generator
exception implicit toString
ö2
sdfghyjuki54efc sacd
example