<commit_before>#xiSocketLib#

C++ Unix/Winsock wrapper library

## Usage ##

UDP Create Example
	
	#include <UDP.h>
	
	// Create UDP socket (Will automatically bind to any IPv4 port
	xiUDP * const udpSocket = xiUDP::CreateOnPort( 12345 );
	if ( udpSocket ) {
		// Socket is created on port 12345 successfully
	}

UDP Listen Example

	char receivedBytes[800]; // Where the received bytes go
	const int maxLength = 800; // How many bytes we can accept
	xiSocket::addressInfo_s sender; // Info to store who sent the bytes

	const int receivedLen = udpSocket->ReadIntoBuffer( &receivedBytes[0], maxLength, &sender );
	if ( receivedBytes > 0 ) {
		// receivedBytes contains what we received<commit_msg>Fixed list example mistake<commit_after>#xiSocketLib#

C++ Unix/Winsock wrapper library

## Usage ##

UDP Create Example
	
	#include <UDP.h>
	
	// Create UDP socket (Will automatically bind to any IPv4 port
	xiUDP * const udpSocket = xiUDP::CreateOnPort( 12345 );
	if ( udpSocket ) {
		// Socket is created on port 12345 successfully
	}

UDP Listen Example

	char receivedBytes[800]; // Where the received bytes go
	const int maxLength = 800; // How many bytes we can accept
	xiSocket::addressInfo_s sender; // Info to store who sent the bytes

	const int receivedLen = udpSocket->ReadIntoBuffer( &receivedBytes[0], maxLength, &sender );
	if ( receivedLen > 0 ) {
		// receivedBytes contains what we received
{'fraction_non_alphanumeric': 0.0911032028469751, 'fraction_numerical': 0.02704626334519573, 'mean_word_length': 3.9858156028368796, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1476866', 'n_tokens_mistral': 474, 'n_tokens_neox': 419, 'n_words': 160}