Services discovery? Chaos?

This is a discussion on Services discovery? Chaos? within the Networking/Device Communication forums, part of the General Programming Boards category; A simple question which actually has sent me through tons of information and i am confused. Question: When a server ...

  1. #1
    uint64_t...think positive xuftugulus's Avatar
    Join Date
    Feb 2008
    Location
    Pacem
    Posts
    355

    Lightbulb Services discovery? Chaos?

    A simple question which actually has sent me through tons of information and i am confused.

    Question: When a server is running on a specific port, is there a standard way to announce the provided service to someone connecting on the port?

    I couldn't make anything from Google'ing, or at least didn't understand where to look...
    Code:
    ...
        goto johny_walker_red_label;
    johny_walker_blue_label: exit(-149$);
    johny_walker_red_label : exit( -22$);
    A typical example of ...cheap programming practices.

  2. #2
    uint64_t...think positive xuftugulus's Avatar
    Join Date
    Feb 2008
    Location
    Pacem
    Posts
    355
    I will reply to myself that there is no standard as much as i searched. The traditional way used by nmap is to parse the server response for discovering a standard service. A non-standard service has no way to announce it's type or purpose, other than the author of the service provide a list of the services available commands in a long and boring, but definately forcingly complete way.
    Code:
    ...
        goto johny_walker_red_label;
    johny_walker_blue_label: exit(-149$);
    johny_walker_red_label : exit( -22$);
    A typical example of ...cheap programming practices.

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    No. A program could sniff for the provided service by listening and trying out a few commands, but there's really no method of identifying a service.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. basic questions about web services development
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 07-13-2008, 09:30 AM
  2. Replies: 1
    Last Post: 11-10-2006, 08:58 PM
  3. Where to host web services?
    By alphaoide in forum Tech Board
    Replies: 11
    Last Post: 03-07-2005, 09:24 AM
  4. An interesting analogous discovery...
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 09-01-2002, 12:13 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21