Add GDO_NAMES support

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6919 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 2000-07-18 15:50:36 +00:00
parent 6fdd79e25a
commit d771ea6784
3 changed files with 190 additions and 12 deletions

View file

@ -82,6 +82,14 @@
* NB. This response may not be possible over UDP as the
* response length may exceed the maximum UDP packet size.
*
* GDO_NAMES Return a list of registered names known to the server.
* Response is an unsigned long (in network byte order)
* saying how many bytes of data are to follow,
* followed by a list of the names each preceeded by the
* name length (a single byte) and port type (a byte).
* NB. This response may not be possible over UDP as the
* response length may exceed the maximum UDP packet size.
*
* The following are used for communications between name servers -
*
* GDO_PROBE Requests a response
@ -168,6 +176,7 @@
#define GDO_SERVERS 'S'
#define GDO_PROBE 'P'
#define GDO_PREPLY 'p'
#define GDO_NAMES 'N'
/*
* Port type codes