Catatan

Tunjukkan catatan dari Mac, 2021

Byte HEX C#

 00,50,00,00,00,00,00,01,00,01, 00,03,01,00,00,00,00,00,00,00, 00,00,00,00,00,01,00,01,02,00, 00,00,00,00,00,00,00,00,00,00, 00,02,00,01,03,00,00,00,00,00, 00,00,00,00,00,00,00,03,00,01, 04,00,00,00,00,00,00,00,00,00, 00,00,00,04,00,01,00,00,00,00, 00,00,00,00,00,00,00,00,d2,18

Test your network connection

Imej
  PowerShell (Windows only) PowerShell  is a scripting tool for Windows. Windows PowerShell comes installed by default in Windows. In the lower-left corner, click the Windows icon and type:  PowerShell At the PowerShell prompt, enter the  Test-NetConnection  command :  Test-NetConnection -ComputerName <address> -Port <port> The Code42 app  uses port 443 and 4287  to connect to authority servers and the Code42 cloud. If you are unsure which port to include, test all. Examples:  Test-NetConnection  - ComputerName central.crashplan.com -Port 443 Test-NetConnection  - ComputerName central.crashplan.com -Port 4287 If the connection passes, a  TcpTestSucceeded: True  message displays similar to the following: ComputerName : central.crashplan.com RemoteAddress : 192.0.2.0 RemotePort : 4287 InterfaceAlias : Ethernet0 2 SourceAddress : 192.0.0.0 TcpTestSucceeded : True If the connection fails, a failure message displays, for example: WARNING: TCP connect to (192.0.

My Socket problems ?

1. Nugget WebSocket# -  https://stackoverflow.com/questions/30523478/connecting-to-websocket-using-c-sharp-i-can-connect-using-javascript-but-c-sha - Library websocket from nugget :   https://www.nuget.org/packages/websocket-sharp.clone/3.0.0 - Install and Use a NuGet Package with Visual Studio -  https://channel9.msdn.com/Series/NuGet-101/Install-and-Use-a-NuGet-Package-with-Visual-Studio-2-of-5 2. Mozilla  Writing WebSocket client applications -  https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_client_applications Writing a WebSocket server in C# -  https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_server 3. Sending WebSocket message over C# Socket -  https://stackoverflow.com/questions/13540621/sending-websocket-message-over-c-sharp-socket 4.  5.  6.  Problem from current source code listener 1. C# startIndex cannot be larger than length of string. Parameter name: startIndex -  https://stackoverflow.com/questions/98130

Apa itu TTL ?

Imej
  Rujukan :  what is TTL =128 OR 64 0R 255

Cara import local git ke remote git

Imej
Local git   As hinted in GitHub   help : Create a new repository on GitHub. Open Git Bash. Change the current working directory to your local project. Initialize the local directory as a Git repository. $ git init Add the files in your new local repository. This stages them for the first commit. $ git add . Commit the files that you've staged in your local repository. $ git commit -m "First commit" At the top of your GitHub repository's Quick Setup page, click to copy the remote repository URL. In the Command prompt, add the URL for the remote repository where your local repository will be pushed. $ git remote add origin <remote repository URL> # Sets the new remote $ git remote -v # Verifies the new remote URL Push the changes in your local repository to GitHub if there is a remote branch called  master  (or  main  if that's what you're using) $ git push origin master Otherwise you will have to name local branch first by $ git branch -m <new