Use Sockets to send and receive data over TCP 05/07/2023
When working with System.Net.Sockets, you represent a network endpoint as an IPEndPoint object. The IPEndPoint is constructed with an IPAddress and its corresponding port number. Before you can initiate a conversation through a Socket, you create a data pipe between your app and the remote destination.
Author: Admin
Language:
C#
Tags:
sockets
send
receive
tcp
cs
Read More11
Unique Random Numbers Within a Range 04/23/2023
Here's a nice function I found to get 10 unique numbers from a range of numbers.
Author: Admin
Language:
PHP
Tags:
random
numbers
range
php
Read More10
PHP Crypt 02/11/2023
crypt() will return a hashed string using the standard Unix DES-based algorithm or alternative algorithms. password_verify() is compatible with crypt(). Therefore, password hashes created by crypt() can be used with password_verify().
Author: Admin
Language:
PHP
Tags:
php
crypt
hash
password
Read More44
PHP Shuffle 09/11/2022
Randomizes the order of the elements in an array.
Author: Admin
Language:
PHP
Tags:
php
shuffle
array
Read More379
If you would like to share your code on HS Codebank you can submit it by registering and clicking the submit article button on this page.
LoginRegisterContact Us