<commit_before>/*
 * gsi_socket_test
 *
 * Code to test the gsi_socket.c code.
 */

#include "gsi_socket.h"

#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>

int port = 7563;		/* Default port, arbitrary */
char *host = "localhost";

main(int argc,
     char *argv[])
{
    char *myname;
    
    extern char *optarg;
    extern int optind;
    int arg;
    
    int receive_mode = 0;
    int transmit_mode = 0;
    int arg_err = 0;

    int exit_status = 0;
    
    myname = argv[0];
    
    while((arg = getopt(argc, argv, "rt")) != EOF)
    {
	switch(arg) 
	{
	  case 'r':
	    receive_mode = 1;
	    break;<commit_msg>function declarations<commit_after>/*
 * gsi_socket_test
 *
 * Code to test the gsi_socket.c code.
 */

#include "gsi_socket.h"

#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>

int port = 7563;		/* Default port, arbitrary */
char *host = "localhost";

int do_receive();
int do_transmit();

main(int argc,
     char *argv[])
{
    char *myname;
    
    extern char *optarg;
    extern int optind;
    int arg;
    
    int receive_mode = 0;
    int transmit_mode = 0;
    int arg_err = 0;

    int exit_status = 0;
    
    myname = argv[0];
    
    while((arg = getopt(argc, argv, "rt")) != EOF)
    {
	switch(arg) 
	{
	  case 'r':
	    receive_mode = 1;
	    break;
{'fraction_non_alphanumeric': 0.14580467675378267, 'fraction_numerical': 0.013755158184319119, 'mean_word_length': 2.5925925925925926, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '6672313', 'n_tokens_mistral': 596, 'n_tokens_neox': 570, 'n_words': 144}