w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
Edit
In Place Editing Advanced Editing
  • References
  • JavaScript
  • Node.js
  • Net

lookup event (net.Socket)

Event: 'lookup'

Emitted after resolving the hostname but before connecting. Not applicable to UNIX sockets.

  • err {Error|Null} The error object. See dns.lookup().
  • address {String} The IP address.
  • family {String|Null} The address type. See dns.lookup().
  • host {String} The hostname.
Links:
  • https://nodejs.org/dist/latest-v5.x/docs/api/net.html#net_event_lookup
doc_Nodejs
doc_Nodejs
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.

Popular Articles
timeout event (net.Socket) Event: 'timeout' Emitted if the socket times out from inactivity. This is only to notify that the socket has been idle. The user must manually close
close event (net.Socket) Event: 'close' had_error <Boolean> true if the socket had a transmission error. Emitted once the socket is fully closed. The argument had_er
connect event (net.Socket) Event: 'connect' Emitted when a socket connection is successfully established. See connect().
drain event (net.Socket) Event: 'drain' Emitted when the write buffer becomes empty. Can be used to throttle uploads. See also: the return values of socket.write()
end event (net.Socket) Event: 'end' Emitted when the other end of the socket sends a FIN packet. By default (allowHalfOpen == false) the socket will destroy its file descr


Return to View
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions