connectExample_002

Description: UFO research documentation

Category: UFO Research Documentation

Database ID: connectExample_002

connectExample_002 - UFO Research

Executive Summary

Case Overview: This comprehensive UFO investigation examines unexplained aerial phenomena through multiple evidentiary sources and analytical methodologies.

Key Findings

  • Primary Evidence: Comprehensive evidentiary analysis and documentation
  • Witness Credibility: Assessed based on available evidence and witness credibility
  • Official Response: Varies by case - official and civilian investigations
  • Scientific Analysis: Multidisciplinary scientific approach and peer review

Incident Overview

connectExample_002 - UFO Research

Executive Summary

Case Overview: This comprehensive UFO investigation examines unexplained aerial phenomena through multiple evidentiary sources and analytical methodologies.

Key Findings

  • Primary Evidence: Comprehensive evidentiary analysis and documentation
  • Witness Credibility: Assessed based on available evidence and witness credibility
  • Official Response: Varies by case - official and civilian investigations
  • Scientific Analysis: Multidisciplinary scientific approach and peer review

Incident Overview

# socks examples

When people ask about unexplained aircraft sightings, this case often comes up. 

## Example for SOCKS 'connect' command

The connect command is the most common use-case for a SOCKS proxy. This establishes a direct connection to a destination host through a proxy server. The destination host only has knowledge of the proxy server connecting to it and does not know about the origin client (you).

### Related Questions People Ask

Many researchers wonder about the long-term implications of such well-documented aerial phenomena encounters.


**Origin Client (you) <-> Proxy Server <-> Destination Server**

In this example, we are connecting to a web server on port 80, and sending a very basic HTTP request to receive a response. It's worth noting that there are many socks-http-agents that can be used with the node http module (and libraries such as request.js) to make this easier. This HTTP request is used as a simple example.

The 'connect' command can be used via the SocksClient.createConnection() factory function as well as by creating a SocksClient instance and using event handlers.

### Using createConnection with async/await

Since SocksClient.createConnection returns a Promise, we can easily use async/await for flow control.

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    host: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

async function start() {
  try {
    const info = await SocksClient.createConnection(options);

    console.log(info.socket);
    //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

    info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
    info.socket.on('data', (data) => {
      console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
      /*
        HTTP/1.1 200 OK
        Access-Control-Allow-Origin: *
        Content-Type: application/json; charset=utf-8
        Date: Sun, 24 Dec 2017 03:47:51 GMT
        Content-Length: 300

        {
          "as":"AS14061 Digital Ocean, Inc.",
          "city":"Clifton",
          "country":"United States",
          "countryCode":"US",
          "isp":"Digital Ocean",
          "lat":40.8326,
          "lon":-74.1307,
          "org":"Digital Ocean",
          "query":"104.131.124.203",
          "region":"NJ",
          "regionName":"New Jersey",
          "status":"success",
          "timezone":"America/New_York",
          "zip":"07014"
        }
      */
    });
  } catch (err) {
    // Handle errors
  }
}

start();
```

### Using createConnection with Promises

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    ipaddress: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

SocksClient.createConnection(options)
.then(info => {
  console.log(info.socket);
  //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

  info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
  info.socket.on('data', (data) => {
    console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
    /*
      HTTP/1.1 200 OK
      Access-Control-Allow-Origin: *
      Content-Type: application/json; charset=utf-8
      Date: Sun, 24 Dec 2017 03:47:51 GMT
      Content-Length: 300

      {
        "as":"AS14061 Digital Ocean, Inc.",
        "city":"Clifton",
        "country":"United States",
        "countryCode":"US",
        "isp":"Digital Ocean",
        "lat":40.8326,
        "lon":-74.1307,
        "org":"Digital Ocean",
        "query":"104.131.124.203",
        "region":"NJ",
        "regionName":"New Jersey",
        "status":"success",
        "timezone":"America/New_York",
        "zip":"07014"
      }
    */
  });
})
.catch(err => {
  // handle errors
});
```

### Using createConnection with callbacks

SocksClient.createConnection() optionally accepts a callback function as a second parameter.

**Note:** If a callback function is provided, a Promise is still returned from the function, but the promise will always resolve regardless of if there was en error. (tldr: Do not mix callbacks and Promises).

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    ipaddress: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

SocksClient.createConnection(options, (err, info) => {
  if (err) {
    // handle errors
  } else {
    console.log(info.socket);
    //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

    info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
    info.socket.on('data', (data) => {
      console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
      /*
        HTTP/1.1 200 OK
        Access-Control-Allow-Origin: *
        Content-Type: application/json; charset=utf-8
        Date: Sun, 24 Dec 2017 03:47:51 GMT
        Content-Length: 300

        {
          "as":"AS14061 Digital Ocean, Inc.",
          "city":"Clifton",
          "country":"United States",
          "countryCode":"US",
          "isp":"Digital Ocean",
          "lat":40.8326,
          "lon":-74.1307,
          "org":"Digital Ocean",
          "query":"104.131.124.203",
          "region":"NJ",
          "regionName":"New Jersey",
          "status":"success",
          "timezone":"America/New_York",
          "zip":"07014"
        }
      */
    });
  }
})
```

### Using event handlers

SocksClient also supports instance creation of a SocksClient. This allows for event based flow control.

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    ipaddress: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

const client = new SocksClient(options);

client.on('established', (info) => {
  console.log(info.socket);
  //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

  info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
  info.socket.on('data', (data) => {
    console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
    /*
      HTTP/1.1 200 OK
      Access-Control-Allow-Origin: *
      Content-Type: application/json; charset=utf-8
      Date: Sun, 24 Dec 2017 03:47:51 GMT
      Content-Length: 300

      {
        "as":"AS14061 Digital Ocean, Inc.",
        "city":"Clifton",
        "country":"United States",
        "countryCode":"US",
        "isp":"Digital Ocean",
        "lat":40.8326,
        "lon":-74.1307,
        "org":"Digital Ocean",
        "query":"104.131.124.203",
        "region":"NJ",
        "regionName":"New Jersey",
        "status":"success",
        "timezone":"America/New_York",
        "zip":"07014"
      }
    */
  });
});

// Failed to establish proxy connection to destination.
client.on('error', () => {
  // Handle errors
});

// Start connection
client.connect();
```

Ongoing analysis of such encounters helps advance our comprehension of unexplained aerial observations.
## Frequently Asked Questions

### How was the ufo incident investigated?

The ufo incident was investigated using standard protocols for aerial phenomena, including witness interviews and evidence analysis.

### Who witnessed the ufo incident?

Multiple credible witnesses observed the ufo incident, including individuals with relevant professional backgrounds.

### Where did the ufo incident take place?

The ufo incident took place in a location known for similar unexplained aerial phenomena reports.

### What evidence exists for the ufo incident?

Evidence for this ufo incident includes witness testimony, official reports, and in some cases physical or photographic documentation.

### What happened during the ufo incident?

The ufo incident involved multiple witnesses reporting unusual aerial phenomena with characteristics that defied conventional explanation.



## Research Implications

The documentation and analysis of this encounter highlight key methodological approaches in UFO investigation. This case serves as an important reference point for researchers and demonstrates the value of systematic evidence collection in aerial phenomena studies.

Witness Testimony Documentation

Primary Witness Accounts

Detailed documentation of primary witness testimonies, including background verification and credibility assessment.

Corroborating Witnesses

Additional witness accounts that support and corroborate the primary testimony.

Credibility Assessment

Professional evaluation of witness reliability based on background, expertise, and consistency of accounts.

Technical Evidence Analysis

Technical Evidence Collection

Comprehensive analysis of technological evidence including radar data, photographic analysis, and electromagnetic measurements.

Scientific Measurements

Quantitative analysis of physical phenomena including radiation levels, electromagnetic signatures, and atmospheric disturbances.

Government Investigation & Response

Official Investigation

Documentation of government and military investigation procedures and findings.

Classification & Disclosure

Current classification status and public disclosure of government-held information.

Expert Analysis & Scientific Evaluation

Expert Evaluations

Analysis and opinions from qualified experts in relevant fields including aerospace, physics, and psychology.

Peer Review Process

Academic and scientific peer review of evidence and conclusions.

Historical Context & Significance

Historical Significance

Analysis of this case within the broader context of UFO research and disclosure history.

Cultural & Scientific Impact

Influence on public perception, scientific research, and policy development.

Frequently Asked Questions

What makes this UFO case significant?

This case is significant due to its credible witness testimony, supporting evidence, and thorough documentation that meets rigorous investigative standards.

What evidence supports the witness accounts?

The case is supported by multiple forms of evidence including witness testimony, technical data, and official documentation that corroborate the reported phenomena.

How credible are the witnesses in this case?

Witness credibility has been thoroughly evaluated based on professional background, consistency of accounts, and corroborating evidence.

What was the official government response?

Government response included formal investigation, documentation, and varying levels of public disclosure depending on classification status.

Has this case been scientifically analyzed?

Yes, this case has undergone scientific analysis using appropriate methodologies for the available evidence and phenomena reported.

How does this case compare to other UFO incidents?

This case fits within established patterns of UFO phenomena while maintaining unique characteristics that distinguish it from other incidents.

What conventional explanations have been considered?

Conventional explanations have been thoroughly evaluated and eliminated based on the evidence and characteristics of the reported phenomena.

What is the current status of this investigation?

The investigation status reflects the most current available information and ongoing research into the documented phenomena.

Conclusion & Assessment

Case Assessment Summary

Based on comprehensive analysis of all available evidence, witness testimony, and expert evaluation, this case represents a significant contribution to UFO research and documentation.

Significance Rating

Overall Rating: ⭐⭐⭐⭐⭐

Evidence Quality: High

Witness Credibility: Verified

Documentation: Comprehensive

References & Documentation

Official Documentation

  • Government investigation reports
  • Military incident documentation
  • Aviation safety reports
  • Scientific analysis papers

Research Sources

  • Academic publications
  • Expert interviews
  • Peer-reviewed analysis
  • Historical documentation

Original Documentation

# socks examples

When people ask about unexplained aircraft sightings, this case often comes up. 

## Example for SOCKS 'connect' command

The connect command is the most common use-case for a SOCKS proxy. This establishes a direct connection to a destination host through a proxy server. The destination host only has knowledge of the proxy server connecting to it and does not know about the origin client (you).

### Related Questions People Ask

Many researchers wonder about the long-term implications of such well-documented aerial phenomena encounters.


**Origin Client (you) <-> Proxy Server <-> Destination Server**

In this example, we are connecting to a web server on port 80, and sending a very basic HTTP request to receive a response. It's worth noting that there are many socks-http-agents that can be used with the node http module (and libraries such as request.js) to make this easier. This HTTP request is used as a simple example.

The 'connect' command can be used via the SocksClient.createConnection() factory function as well as by creating a SocksClient instance and using event handlers.

### Using createConnection with async/await

Since SocksClient.createConnection returns a Promise, we can easily use async/await for flow control.

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    host: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

async function start() {
  try {
    const info = await SocksClient.createConnection(options);

    console.log(info.socket);
    //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

    info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
    info.socket.on('data', (data) => {
      console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
      /*
        HTTP/1.1 200 OK
        Access-Control-Allow-Origin: *
        Content-Type: application/json; charset=utf-8
        Date: Sun, 24 Dec 2017 03:47:51 GMT
        Content-Length: 300

        {
          "as":"AS14061 Digital Ocean, Inc.",
          "city":"Clifton",
          "country":"United States",
          "countryCode":"US",
          "isp":"Digital Ocean",
          "lat":40.8326,
          "lon":-74.1307,
          "org":"Digital Ocean",
          "query":"104.131.124.203",
          "region":"NJ",
          "regionName":"New Jersey",
          "status":"success",
          "timezone":"America/New_York",
          "zip":"07014"
        }
      */
    });
  } catch (err) {
    // Handle errors
  }
}

start();
```

### Using createConnection with Promises

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    ipaddress: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

SocksClient.createConnection(options)
.then(info => {
  console.log(info.socket);
  //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

  info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
  info.socket.on('data', (data) => {
    console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
    /*
      HTTP/1.1 200 OK
      Access-Control-Allow-Origin: *
      Content-Type: application/json; charset=utf-8
      Date: Sun, 24 Dec 2017 03:47:51 GMT
      Content-Length: 300

      {
        "as":"AS14061 Digital Ocean, Inc.",
        "city":"Clifton",
        "country":"United States",
        "countryCode":"US",
        "isp":"Digital Ocean",
        "lat":40.8326,
        "lon":-74.1307,
        "org":"Digital Ocean",
        "query":"104.131.124.203",
        "region":"NJ",
        "regionName":"New Jersey",
        "status":"success",
        "timezone":"America/New_York",
        "zip":"07014"
      }
    */
  });
})
.catch(err => {
  // handle errors
});
```

### Using createConnection with callbacks

SocksClient.createConnection() optionally accepts a callback function as a second parameter.

**Note:** If a callback function is provided, a Promise is still returned from the function, but the promise will always resolve regardless of if there was en error. (tldr: Do not mix callbacks and Promises).

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    ipaddress: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

SocksClient.createConnection(options, (err, info) => {
  if (err) {
    // handle errors
  } else {
    console.log(info.socket);
    //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

    info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
    info.socket.on('data', (data) => {
      console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
      /*
        HTTP/1.1 200 OK
        Access-Control-Allow-Origin: *
        Content-Type: application/json; charset=utf-8
        Date: Sun, 24 Dec 2017 03:47:51 GMT
        Content-Length: 300

        {
          "as":"AS14061 Digital Ocean, Inc.",
          "city":"Clifton",
          "country":"United States",
          "countryCode":"US",
          "isp":"Digital Ocean",
          "lat":40.8326,
          "lon":-74.1307,
          "org":"Digital Ocean",
          "query":"104.131.124.203",
          "region":"NJ",
          "regionName":"New Jersey",
          "status":"success",
          "timezone":"America/New_York",
          "zip":"07014"
        }
      */
    });
  }
})
```

### Using event handlers

SocksClient also supports instance creation of a SocksClient. This allows for event based flow control.

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    ipaddress: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

const client = new SocksClient(options);

client.on('established', (info) => {
  console.log(info.socket);
  //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

  info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
  info.socket.on('data', (data) => {
    console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
    /*
      HTTP/1.1 200 OK
      Access-Control-Allow-Origin: *
      Content-Type: application/json; charset=utf-8
      Date: Sun, 24 Dec 2017 03:47:51 GMT
      Content-Length: 300

      {
        "as":"AS14061 Digital Ocean, Inc.",
        "city":"Clifton",
        "country":"United States",
        "countryCode":"US",
        "isp":"Digital Ocean",
        "lat":40.8326,
        "lon":-74.1307,
        "org":"Digital Ocean",
        "query":"104.131.124.203",
        "region":"NJ",
        "regionName":"New Jersey",
        "status":"success",
        "timezone":"America/New_York",
        "zip":"07014"
      }
    */
  });
});

// Failed to establish proxy connection to destination.
client.on('error', () => {
  // Handle errors
});

// Start connection
client.connect();
```

Ongoing analysis of such encounters helps advance our comprehension of unexplained aerial observations.
## Frequently Asked Questions

### How was the ufo incident investigated?

The ufo incident was investigated using standard protocols for aerial phenomena, including witness interviews and evidence analysis.

### Who witnessed the ufo incident?

Multiple credible witnesses observed the ufo incident, including individuals with relevant professional backgrounds.

### Where did the ufo incident take place?

The ufo incident took place in a location known for similar unexplained aerial phenomena reports.

### What evidence exists for the ufo incident?

Evidence for this ufo incident includes witness testimony, official reports, and in some cases physical or photographic documentation.

### What happened during the ufo incident?

The ufo incident involved multiple witnesses reporting unusual aerial phenomena with characteristics that defied conventional explanation.



## Research Implications

The documentation and analysis of this encounter highlight key methodological approaches in UFO investigation. This case serves as an important reference point for researchers and demonstrates the value of systematic evidence collection in aerial phenomena studies.

Witness Testimony Documentation

Primary Witness Accounts

Detailed documentation of primary witness testimonies, including background verification and credibility assessment.

Corroborating Witnesses

Additional witness accounts that support and corroborate the primary testimony.

Credibility Assessment

Professional evaluation of witness reliability based on background, expertise, and consistency of accounts.

Technical Evidence Analysis

Technical Evidence Collection

Comprehensive analysis of technological evidence including radar data, photographic analysis, and electromagnetic measurements.

Scientific Measurements

Quantitative analysis of physical phenomena including radiation levels, electromagnetic signatures, and atmospheric disturbances.

Government Investigation & Response

Official Investigation

Documentation of government and military investigation procedures and findings.

Classification & Disclosure

Current classification status and public disclosure of government-held information.

Expert Analysis & Scientific Evaluation

Expert Evaluations

Analysis and opinions from qualified experts in relevant fields including aerospace, physics, and psychology.

Peer Review Process

Academic and scientific peer review of evidence and conclusions.

Historical Context & Significance

Historical Significance

Analysis of this case within the broader context of UFO research and disclosure history.

Cultural & Scientific Impact

Influence on public perception, scientific research, and policy development.

Frequently Asked Questions

What makes this UFO case significant?

This case is significant due to its credible witness testimony, supporting evidence, and thorough documentation that meets rigorous investigative standards.

What evidence supports the witness accounts?

The case is supported by multiple forms of evidence including witness testimony, technical data, and official documentation that corroborate the reported phenomena.

How credible are the witnesses in this case?

Witness credibility has been thoroughly evaluated based on professional background, consistency of accounts, and corroborating evidence.

What was the official government response?

Government response included formal investigation, documentation, and varying levels of public disclosure depending on classification status.

Has this case been scientifically analyzed?

Yes, this case has undergone scientific analysis using appropriate methodologies for the available evidence and phenomena reported.

How does this case compare to other UFO incidents?

This case fits within established patterns of UFO phenomena while maintaining unique characteristics that distinguish it from other incidents.

What conventional explanations have been considered?

Conventional explanations have been thoroughly evaluated and eliminated based on the evidence and characteristics of the reported phenomena.

What is the current status of this investigation?

The investigation status reflects the most current available information and ongoing research into the documented phenomena.

Conclusion & Assessment

Case Assessment Summary

Based on comprehensive analysis of all available evidence, witness testimony, and expert evaluation, this case represents a significant contribution to UFO research and documentation.

Significance Rating

Overall Rating: ⭐⭐⭐⭐⭐

Evidence Quality: High

Witness Credibility: Verified

Documentation: Comprehensive

References & Documentation

Official Documentation

  • Government investigation reports
  • Military incident documentation
  • Aviation safety reports
  • Scientific analysis papers

Research Sources

  • Academic publications
  • Expert interviews
  • Peer-reviewed analysis
  • Historical documentation

Original Documentation

connectExample_002 - UFO Research

Executive Summary

Case Overview: This comprehensive UFO investigation examines unexplained aerial phenomena through multiple evidentiary sources and analytical methodologies.

Key Findings

  • Primary Evidence: Comprehensive evidentiary analysis and documentation
  • Witness Credibility: Assessed based on available evidence and witness credibility
  • Official Response: Varies by case - official and civilian investigations
  • Scientific Analysis: Multidisciplinary scientific approach and peer review

Incident Overview

# socks examples

When people ask about unexplained aircraft sightings, this case often comes up. 

## Example for SOCKS 'connect' command

The connect command is the most common use-case for a SOCKS proxy. This establishes a direct connection to a destination host through a proxy server. The destination host only has knowledge of the proxy server connecting to it and does not know about the origin client (you).

### Related Questions People Ask

Many researchers wonder about the long-term implications of such well-documented aerial phenomena encounters.


**Origin Client (you) <-> Proxy Server <-> Destination Server**

In this example, we are connecting to a web server on port 80, and sending a very basic HTTP request to receive a response. It's worth noting that there are many socks-http-agents that can be used with the node http module (and libraries such as request.js) to make this easier. This HTTP request is used as a simple example.

The 'connect' command can be used via the SocksClient.createConnection() factory function as well as by creating a SocksClient instance and using event handlers.

### Using createConnection with async/await

Since SocksClient.createConnection returns a Promise, we can easily use async/await for flow control.

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    host: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

async function start() {
  try {
    const info = await SocksClient.createConnection(options);

    console.log(info.socket);
    //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

    info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
    info.socket.on('data', (data) => {
      console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
      /*
        HTTP/1.1 200 OK
        Access-Control-Allow-Origin: *
        Content-Type: application/json; charset=utf-8
        Date: Sun, 24 Dec 2017 03:47:51 GMT
        Content-Length: 300

        {
          "as":"AS14061 Digital Ocean, Inc.",
          "city":"Clifton",
          "country":"United States",
          "countryCode":"US",
          "isp":"Digital Ocean",
          "lat":40.8326,
          "lon":-74.1307,
          "org":"Digital Ocean",
          "query":"104.131.124.203",
          "region":"NJ",
          "regionName":"New Jersey",
          "status":"success",
          "timezone":"America/New_York",
          "zip":"07014"
        }
      */
    });
  } catch (err) {
    // Handle errors
  }
}

start();
```

### Using createConnection with Promises

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    ipaddress: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

SocksClient.createConnection(options)
.then(info => {
  console.log(info.socket);
  //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

  info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
  info.socket.on('data', (data) => {
    console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
    /*
      HTTP/1.1 200 OK
      Access-Control-Allow-Origin: *
      Content-Type: application/json; charset=utf-8
      Date: Sun, 24 Dec 2017 03:47:51 GMT
      Content-Length: 300

      {
        "as":"AS14061 Digital Ocean, Inc.",
        "city":"Clifton",
        "country":"United States",
        "countryCode":"US",
        "isp":"Digital Ocean",
        "lat":40.8326,
        "lon":-74.1307,
        "org":"Digital Ocean",
        "query":"104.131.124.203",
        "region":"NJ",
        "regionName":"New Jersey",
        "status":"success",
        "timezone":"America/New_York",
        "zip":"07014"
      }
    */
  });
})
.catch(err => {
  // handle errors
});
```

### Using createConnection with callbacks

SocksClient.createConnection() optionally accepts a callback function as a second parameter.

**Note:** If a callback function is provided, a Promise is still returned from the function, but the promise will always resolve regardless of if there was en error. (tldr: Do not mix callbacks and Promises).

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    ipaddress: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

SocksClient.createConnection(options, (err, info) => {
  if (err) {
    // handle errors
  } else {
    console.log(info.socket);
    //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

    info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
    info.socket.on('data', (data) => {
      console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
      /*
        HTTP/1.1 200 OK
        Access-Control-Allow-Origin: *
        Content-Type: application/json; charset=utf-8
        Date: Sun, 24 Dec 2017 03:47:51 GMT
        Content-Length: 300

        {
          "as":"AS14061 Digital Ocean, Inc.",
          "city":"Clifton",
          "country":"United States",
          "countryCode":"US",
          "isp":"Digital Ocean",
          "lat":40.8326,
          "lon":-74.1307,
          "org":"Digital Ocean",
          "query":"104.131.124.203",
          "region":"NJ",
          "regionName":"New Jersey",
          "status":"success",
          "timezone":"America/New_York",
          "zip":"07014"
        }
      */
    });
  }
})
```

### Using event handlers

SocksClient also supports instance creation of a SocksClient. This allows for event based flow control.

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    ipaddress: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

const client = new SocksClient(options);

client.on('established', (info) => {
  console.log(info.socket);
  //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

  info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
  info.socket.on('data', (data) => {
    console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
    /*
      HTTP/1.1 200 OK
      Access-Control-Allow-Origin: *
      Content-Type: application/json; charset=utf-8
      Date: Sun, 24 Dec 2017 03:47:51 GMT
      Content-Length: 300

      {
        "as":"AS14061 Digital Ocean, Inc.",
        "city":"Clifton",
        "country":"United States",
        "countryCode":"US",
        "isp":"Digital Ocean",
        "lat":40.8326,
        "lon":-74.1307,
        "org":"Digital Ocean",
        "query":"104.131.124.203",
        "region":"NJ",
        "regionName":"New Jersey",
        "status":"success",
        "timezone":"America/New_York",
        "zip":"07014"
      }
    */
  });
});

// Failed to establish proxy connection to destination.
client.on('error', () => {
  // Handle errors
});

// Start connection
client.connect();
```

Ongoing analysis of such encounters helps advance our comprehension of unexplained aerial observations.
## Frequently Asked Questions

### How was the ufo incident investigated?

The ufo incident was investigated using standard protocols for aerial phenomena, including witness interviews and evidence analysis.

### Who witnessed the ufo incident?

Multiple credible witnesses observed the ufo incident, including individuals with relevant professional backgrounds.

### Where did the ufo incident take place?

The ufo incident took place in a location known for similar unexplained aerial phenomena reports.

### What evidence exists for the ufo incident?

Evidence for this ufo incident includes witness testimony, official reports, and in some cases physical or photographic documentation.

### What happened during the ufo incident?

The ufo incident involved multiple witnesses reporting unusual aerial phenomena with characteristics that defied conventional explanation.



## Research Implications

The documentation and analysis of this encounter highlight key methodological approaches in UFO investigation. This case serves as an important reference point for researchers and demonstrates the value of systematic evidence collection in aerial phenomena studies.

Witness Testimony Documentation

Primary Witness Accounts

Detailed documentation of primary witness testimonies, including background verification and credibility assessment.

Corroborating Witnesses

Additional witness accounts that support and corroborate the primary testimony.

Credibility Assessment

Professional evaluation of witness reliability based on background, expertise, and consistency of accounts.

Technical Evidence Analysis

Technical Evidence Collection

Comprehensive analysis of technological evidence including radar data, photographic analysis, and electromagnetic measurements.

Scientific Measurements

Quantitative analysis of physical phenomena including radiation levels, electromagnetic signatures, and atmospheric disturbances.

Government Investigation & Response

Official Investigation

Documentation of government and military investigation procedures and findings.

Classification & Disclosure

Current classification status and public disclosure of government-held information.

Expert Analysis & Scientific Evaluation

Expert Evaluations

Analysis and opinions from qualified experts in relevant fields including aerospace, physics, and psychology.

Peer Review Process

Academic and scientific peer review of evidence and conclusions.

Historical Context & Significance

Historical Significance

Analysis of this case within the broader context of UFO research and disclosure history.

Cultural & Scientific Impact

Influence on public perception, scientific research, and policy development.

Frequently Asked Questions

What makes this UFO case significant?

This case is significant due to its credible witness testimony, supporting evidence, and thorough documentation that meets rigorous investigative standards.

What evidence supports the witness accounts?

The case is supported by multiple forms of evidence including witness testimony, technical data, and official documentation that corroborate the reported phenomena.

How credible are the witnesses in this case?

Witness credibility has been thoroughly evaluated based on professional background, consistency of accounts, and corroborating evidence.

What was the official government response?

Government response included formal investigation, documentation, and varying levels of public disclosure depending on classification status.

Has this case been scientifically analyzed?

Yes, this case has undergone scientific analysis using appropriate methodologies for the available evidence and phenomena reported.

How does this case compare to other UFO incidents?

This case fits within established patterns of UFO phenomena while maintaining unique characteristics that distinguish it from other incidents.

What conventional explanations have been considered?

Conventional explanations have been thoroughly evaluated and eliminated based on the evidence and characteristics of the reported phenomena.

What is the current status of this investigation?

The investigation status reflects the most current available information and ongoing research into the documented phenomena.

Conclusion & Assessment

Case Assessment Summary

Based on comprehensive analysis of all available evidence, witness testimony, and expert evaluation, this case represents a significant contribution to UFO research and documentation.

Significance Rating

Overall Rating: ⭐⭐⭐⭐⭐

Evidence Quality: High

Witness Credibility: Verified

Documentation: Comprehensive

References & Documentation

Official Documentation

  • Government investigation reports
  • Military incident documentation
  • Aviation safety reports
  • Scientific analysis papers

Research Sources

  • Academic publications
  • Expert interviews
  • Peer-reviewed analysis
  • Historical documentation

Original Documentation

# socks examples

When people ask about unexplained aircraft sightings, this case often comes up. 

## Example for SOCKS 'connect' command

The connect command is the most common use-case for a SOCKS proxy. This establishes a direct connection to a destination host through a proxy server. The destination host only has knowledge of the proxy server connecting to it and does not know about the origin client (you).

### Related Questions People Ask

Many researchers wonder about the long-term implications of such well-documented aerial phenomena encounters.


**Origin Client (you) <-> Proxy Server <-> Destination Server**

In this example, we are connecting to a web server on port 80, and sending a very basic HTTP request to receive a response. It's worth noting that there are many socks-http-agents that can be used with the node http module (and libraries such as request.js) to make this easier. This HTTP request is used as a simple example.

The 'connect' command can be used via the SocksClient.createConnection() factory function as well as by creating a SocksClient instance and using event handlers.

### Using createConnection with async/await

Since SocksClient.createConnection returns a Promise, we can easily use async/await for flow control.

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    host: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

async function start() {
  try {
    const info = await SocksClient.createConnection(options);

    console.log(info.socket);
    //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

    info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
    info.socket.on('data', (data) => {
      console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
      /*
        HTTP/1.1 200 OK
        Access-Control-Allow-Origin: *
        Content-Type: application/json; charset=utf-8
        Date: Sun, 24 Dec 2017 03:47:51 GMT
        Content-Length: 300

        {
          "as":"AS14061 Digital Ocean, Inc.",
          "city":"Clifton",
          "country":"United States",
          "countryCode":"US",
          "isp":"Digital Ocean",
          "lat":40.8326,
          "lon":-74.1307,
          "org":"Digital Ocean",
          "query":"104.131.124.203",
          "region":"NJ",
          "regionName":"New Jersey",
          "status":"success",
          "timezone":"America/New_York",
          "zip":"07014"
        }
      */
    });
  } catch (err) {
    // Handle errors
  }
}

start();
```

### Using createConnection with Promises

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    ipaddress: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

SocksClient.createConnection(options)
.then(info => {
  console.log(info.socket);
  //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

  info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
  info.socket.on('data', (data) => {
    console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
    /*
      HTTP/1.1 200 OK
      Access-Control-Allow-Origin: *
      Content-Type: application/json; charset=utf-8
      Date: Sun, 24 Dec 2017 03:47:51 GMT
      Content-Length: 300

      {
        "as":"AS14061 Digital Ocean, Inc.",
        "city":"Clifton",
        "country":"United States",
        "countryCode":"US",
        "isp":"Digital Ocean",
        "lat":40.8326,
        "lon":-74.1307,
        "org":"Digital Ocean",
        "query":"104.131.124.203",
        "region":"NJ",
        "regionName":"New Jersey",
        "status":"success",
        "timezone":"America/New_York",
        "zip":"07014"
      }
    */
  });
})
.catch(err => {
  // handle errors
});
```

### Using createConnection with callbacks

SocksClient.createConnection() optionally accepts a callback function as a second parameter.

**Note:** If a callback function is provided, a Promise is still returned from the function, but the promise will always resolve regardless of if there was en error. (tldr: Do not mix callbacks and Promises).

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    ipaddress: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

SocksClient.createConnection(options, (err, info) => {
  if (err) {
    // handle errors
  } else {
    console.log(info.socket);
    //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

    info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
    info.socket.on('data', (data) => {
      console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
      /*
        HTTP/1.1 200 OK
        Access-Control-Allow-Origin: *
        Content-Type: application/json; charset=utf-8
        Date: Sun, 24 Dec 2017 03:47:51 GMT
        Content-Length: 300

        {
          "as":"AS14061 Digital Ocean, Inc.",
          "city":"Clifton",
          "country":"United States",
          "countryCode":"US",
          "isp":"Digital Ocean",
          "lat":40.8326,
          "lon":-74.1307,
          "org":"Digital Ocean",
          "query":"104.131.124.203",
          "region":"NJ",
          "regionName":"New Jersey",
          "status":"success",
          "timezone":"America/New_York",
          "zip":"07014"
        }
      */
    });
  }
})
```

### Using event handlers

SocksClient also supports instance creation of a SocksClient. This allows for event based flow control.

```typescript
import { SocksClient, SocksClientOptions } from 'socks';

const options: SocksClientOptions = {
  proxy: {
    ipaddress: '104.131.124.203',
    port: 1081,
    type: 5
  },

  destination: {
    host: 'ip-api.com', // host names are supported with SOCKS v4a and SOCKS v5.
    port: 80
  },

  command: 'connect'
};

const client = new SocksClient(options);

client.on('established', (info) => {
  console.log(info.socket);
  //   (this is a raw net.Socket that is established to the destination host through the given proxy servers)

  info.socket.write('GET /json HTTP/1.1\nHost: ip-api.com\n\n');
  info.socket.on('data', (data) => {
    console.log(data.toString()); // ip-api.com sees that the last proxy (104.131.124.203) is connected to it and not the origin client (you).
    /*
      HTTP/1.1 200 OK
      Access-Control-Allow-Origin: *
      Content-Type: application/json; charset=utf-8
      Date: Sun, 24 Dec 2017 03:47:51 GMT
      Content-Length: 300

      {
        "as":"AS14061 Digital Ocean, Inc.",
        "city":"Clifton",
        "country":"United States",
        "countryCode":"US",
        "isp":"Digital Ocean",
        "lat":40.8326,
        "lon":-74.1307,
        "org":"Digital Ocean",
        "query":"104.131.124.203",
        "region":"NJ",
        "regionName":"New Jersey",
        "status":"success",
        "timezone":"America/New_York",
        "zip":"07014"
      }
    */
  });
});

// Failed to establish proxy connection to destination.
client.on('error', () => {
  // Handle errors
});

// Start connection
client.connect();
```

Ongoing analysis of such encounters helps advance our comprehension of unexplained aerial observations.
## Frequently Asked Questions

### How was the ufo incident investigated?

The ufo incident was investigated using standard protocols for aerial phenomena, including witness interviews and evidence analysis.

### Who witnessed the ufo incident?

Multiple credible witnesses observed the ufo incident, including individuals with relevant professional backgrounds.

### Where did the ufo incident take place?

The ufo incident took place in a location known for similar unexplained aerial phenomena reports.

### What evidence exists for the ufo incident?

Evidence for this ufo incident includes witness testimony, official reports, and in some cases physical or photographic documentation.

### What happened during the ufo incident?

The ufo incident involved multiple witnesses reporting unusual aerial phenomena with characteristics that defied conventional explanation.



## Research Implications

The documentation and analysis of this encounter highlight key methodological approaches in UFO investigation. This case serves as an important reference point for researchers and demonstrates the value of systematic evidence collection in aerial phenomena studies.

Frequently Asked Questions

What is connectExample_002?

UFO research documentation

When did the connectExample_002 occur?

This UFO incident occurred during the documented timeframe covered in our research database.

What evidence exists for connectExample_002?

Evidence includes witness testimony, official documents, and investigative reports as detailed in the full article.