One of our partner has developped a application which use networks
functions. He made FTP, SMTP, HTTP object based on u_socket object which is
based on winsock32 and use two functions of pbws32.dll: GetHost and
GetService.
For thoses who used this functions, is there a way to get rid off pbws32.dll
? Because there are no documents and no support on this DLL. So is there a
way to get the same behaviour with winsock only ?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/gethostname_2.asp
Although it may be doing the equivalent of GetAddrInfo:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/getaddrinfo_2.asp
And the GetService may be doing something like GetServByName:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/getservbyname_2.asp
On 10 Sep 2004 01:05:02 -0700, "George"
<George...@yahoo-nospam.fr> wrote:
Bruce Armstrong [TeamSybase]
http://www.teamsybase.com
TeamSybase blogs:
http://www.teamsybase.net/blogs
Two 3rd party books on developing with PowerBuilder
http://www.pb9books.com?source=newsgroups
Need code sample? Check out CodeXchange:
http://www.codexchange.sybase.com
Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org
---------------------------------------------------------------------
DISCLAIMER:
This newsgroup message is only intended for the recipient. Given that it
is a posting to a public newsgroup, that means if you can read this
message then you are the recipient. This message may contain information
that is confidential and protected from disclosure. And then again,
it may not.
Given that TeamSybase members are not employees of Sybase, the contents
of this message do not necessarily represent the views or policies of
Sybase. Given that TeamSybase is a diverse group of users of Sybase
products, the contents of this message do not necessarily represent the
views of a significant number of the members of TeamSybase. Given that the
author has multiple personalities and hears voices in his head, the contents
of this message do not necessarily represent his own views.
pbws32.dll was provided as part of one of the PowerBuilder 5 example apps.
I have an example of doing it without this dll on my website.
http://www.topwizprogramming.com/freecode.html
Download the WINSOCK example
Roland
"George" <George...@yahoo-nospam.fr> wrote in message
news:4141602e$1@forums-1-dub...
"Roland Smith" <rsm...@cvps.com> a écrit dans le message de
news:4141f5d2$1@forums-2-dub...