Add a new item to an array, it can be inserted with the help of array_splice() a function of PHP. 09/09/2023
This function removes a portion of an array and replaces it with something else. If offset and length are such that nothing is removed, then the elements from the replacement array are inserted in the place specified by the offset.
Author: Admin
Language:
PHP
Tags:
array
php
insert
array_splice
Read More
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 More
PHP Shuffle 09/11/2022
Randomizes the order of the elements in an array.
Author: Admin
Language:
PHP
Tags:
php
shuffle
array
Read More
PHP whois lookup Class 12/05/2021
This is a standalone php class to find whois information of a domain or IP.
TcpClient Class 04/01/2021
This is a class I've used on a network chat program I built.
Author: Guitarman
Language:
C#
Tags:
Read More
Find missing numbers in a sequence. 03/29/2021
Returns the missing numbers in a sequence.
Author: Admin
Language:
Visual Basic .NET
Tags:
Read More
Get Json String From URL 03/25/2021
Get Json string from url and convert to DataTable.
Author: Admin
Language:
JSON
Tags:
Read More
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