Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

socket and PBWS32.DLL

232 views
Skip to first unread message

George

unread,
Sep 10, 2004, 4:05:02 AM9/10/04
to
Hi everyone !

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 ?


Bruce Armstrong [TeamSybase]

unread,
Sep 10, 2004, 9:37:44 AM9/10/04
to
PBWS32.DLL is somebody's custom DLL. You might just make the calls
directly into winsock, but I'm just guessing at this point what they
do. The GetHost is probably something like GetHostName:

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.

Roland Smith

unread,
Sep 10, 2004, 2:36:26 PM9/10/04
to
George,

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...

George

unread,
Sep 13, 2004, 3:33:24 AM9/13/04
to
OK thnaks.
I will take a look ont it.

"Roland Smith" <rsm...@cvps.com> a écrit dans le message de
news:4141f5d2$1@forums-2-dub...

0 new messages