New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mx-connect

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mx-connect - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

lib/mx-connect.js

@@ -49,3 +49,3 @@ 'use strict';

emitConnectHook: options.emitConnectHook
connectHook: options.connectHook
};

@@ -52,0 +52,0 @@

{
"name": "mx-connect",
"version": "1.0.0",
"version": "1.0.1",
"description": "Establish TCP connection to a MX server",

@@ -5,0 +5,0 @@ "main": "lib/mx-connect.js",

@@ -49,5 +49,5 @@ # mx-connect

* **port** is the port number to connect to. Defaults to 25.
* **localAddres** is the local IP address to use for the connection
* **localAddresIPv4** is the local IPv4 address to use for the connection if you want to specify an address both for IPv4 and IPv6
* **localAddresIPv6** is the local IPv6 address to use for the connection if you want to specify an address both for IPv4 and IPv6
* **localAddress** is the local IP address to use for the connection
* **localAddressIPv4** is the local IPv4 address to use for the connection if you want to specify an address both for IPv4 and IPv6
* **localAddressIPv6** is the local IPv6 address to use for the connection if you want to specify an address both for IPv4 and IPv6
* **dnsOptions** is an object for IP address related options

@@ -62,3 +62,3 @@ * **ignoreIPv6** (boolean, defaults to `false`) If true then never use IPv6 addresses for sending

* **AAAA** is an array of IPv6 addresses. Optional, resolved from exchange hostname if not set
* **emitConnectHook** _function (options, socketOptions, callback)_ is a function handler to run before establishing a tcp connection to current target (defined in `socketOptions`). If the `socketOptions` object has a `socket` property after the callback then connection is not established. Useful if you want to divert the connection is ome cases, for example if the target domain is in the Onion network then you could create a socket against a SOCK proxy yourself.
* **connectHook** _function (options, socketOptions, callback)_ is a function handler to run before establishing a tcp connection to current target (defined in `socketOptions`). If the `socketOptions` object has a `socket` property after the callback then connection is not established. Useful if you want to divert the connection is ome cases, for example if the target domain is in the Onion network then you could create a socket against a SOCK proxy yourself.

@@ -65,0 +65,0 @@ ### Connection object

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc