TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jaap Keuter
from: Thomas Seeling
date: 1996-07-19 22:19:42
subject: Nameserver programming w/ EMX

Hallo, Jaap!

*** Am Montag 15. Juli 1996 um 23:39 schrieb Jaap Keuter an All:

 JK>  I'm working on a simple program to get a query from a nameserver. I got
 JK>  everything going up to the connect(). Do you use a connect to talk to a
 JK>  nameserver (and if so what protocol)? Or do you use sendto().

You would use the correct nameserver resolution calls, as defined in BSD
TCP/IP, after which IBM modelled its TCP/IP. There are calls for
res_mkquery, res_init, res_query, res_search, dn_comp etc. defined in the
TCP/IP DLLs. Just use implib if you do not already have the import
libraries.

The main thing is tcpipdll.dll. It defines

=== Cut ===
;
; tcpipdll.imp (created by emximp)
;
; -------- tcpipdll.lib --------
_dn_skipname            TCPIPDLL   1 ?
_res_query              TCPIPDLL   2 ?
__res_close             TCPIPDLL  23 ?
__res_resultcodes       TCPIPDLL  34 ?
_res_search             TCPIPDLL  48 ?
_res_mkquery            TCPIPDLL  49 ?
_dn_expand              TCPIPDLL  59 ?
_res_send               TCPIPDLL  66 ?
_res_querydomain        TCPIPDLL  74 ?
__res_opcodes           TCPIPDLL  77 ?
_res_init               TCPIPDLL  88 ?
_dn_comp                TCPIPDLL  95 ?
=== Cut ===
;
; tcp32dll.imp (created by emximp)
;
; -------- tcp32dll.lib --------
_RES                    tcp32dll  43 ?
RES_MKQUERY             tcp32dll  40 ?
DN_EXPAND               tcp32dll  31 ?
RES_INIT                tcp32dll  39 ?
RES_SEND                tcp32dll  41 ?
DN_COMP                 tcp32dll  32 ?
DN_SKIPNAME             tcp32dll  33 ?
=== Cut ===

And don't forget to have a look into tcpunx.dll with implib. This is quite
interesting.

Does anyone know what function fic.dll has? It defines a window procedure
and a dialogbox...


Tschau...Thomas

--- E3-32/1.11-32/2.50+
* Origin: Die TeX-Box +49-6034-930021 V.34 -930022 ISDN 24h (2:244/1130.42)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 244/1130 24/999 888 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.