GithubHelp home page GithubHelp logo

How to perform a whois query? about irc HOT 4 CLOSED

jaraco avatar jaraco commented on August 25, 2024
How to perform a whois query?

from irc.

Comments (4)

jaraco avatar jaraco commented on August 25, 2024

When you call c.whois, a whois is a message sent to the server. It's an asynchronous operation for which the response may or may not come later. I've never used this feature before, but I suspect to catch the response, you need to define 'on_whois(self, c, e)' and parse out the message. If that doesn't work, then you'll have to dig into the IRC RFC and find out what message is sent in response to a whois query, and define 'on_'.

Good luck, and please report back what you find.


Original comment by: Jason R. Coombs

from irc.

jaraco avatar jaraco commented on August 25, 2024

Its cool. You can close this.


Original comment by: unconscious

from irc.

jaraco avatar jaraco commented on August 25, 2024

Ill be sending you some pull requests with enhancements btw. :)


Original comment by: unconscious

from irc.

jaraco avatar jaraco commented on August 25, 2024

Not a bug, but a question. Glad to help, though.


Original comment by: Jason R. Coombs

from irc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.