home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.tcp-ip.ibmpc
- Path: sparky!uunet!comp.vuw.ac.nz!newshost!gopher!steven
- From: steven@gopher.dosli.govt.nz (Steven Brydon)
- Subject: FTP's WINSOCK implemnentation of getservbyname function
- Message-ID: <STEVEN.93Jan12103724@gopher.dosli.govt.nz>
- Sender: news@gopher.dosli.govt.nz (USENET News System)
- Organization: Dept. of Survey & Land Information, NZ.
- Distribution: comp
- Date: Tue, 12 Jan 1993 22:37:24 GMT
- Lines: 26
-
-
- I am developing a windows application and am using FTP's development kit
- version 2.2.
-
- Calling the WINSOCK getservbyname function doesn't behave as expected.
- My call is:
-
- sp = getservbyname( "quote", "tcp" )
-
- However this returns NULL. I subsequently call WSAGetLastError which returns 0
- (zero) which I take to me there was no previous error.
-
- I have the following in my pctcp.ini file [pctcp general] section.
-
- etc-dir=c:\etc
-
- and within c:\etc resides the services file that FTP provided.
-
- Anyone successfully used this function ?
-
-
-
- Steven
-
-
-
-