TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Fitzsimmons
from: Milan SKACEL
date: 1996-03-15 08:55:00
subject: Re: Workstation name fro

-=> Quoting Peter Fitzsimmons to Milan Skacel <=-

 PF> One of the great things about named pipes is you don't HAVE to have a
 PF> uniqe  name -- your Server can serve a distinct named pipe to each 
 PF> workstation using the same name.  This is called a 
 PF> "multiple instance" pipe.   If you are still confused let 
 PF> me know,  I have a sample program kicking around somewhere.

 PF> To answer your immediate question...do you get the devcon 
 PF> cdroms?  The lan cdroms have the lan programmer's toolkit.  
 PF> The API you are looking for is (last I looked,  when I was 
 PF> using 16bit OS/2) is called NetWkstaGetInfo(), with an info 
 PF> level=10.

Thank you for your answer but i already found same solution.
To your sugestion about "multiple instance pipes". This i'm already
using for loging clients to server. But for other communication i have
to have different pipes for each workstation. Communication on this pipes
is asynchronous and can be started from both side - server and client.
Several clients can start send requests same time. Server application
is multiprocessing and each pipe has her own thread. This is reason why
i can't use "multiple instance" pipe in this case.

Now i have another problem. I can't link netapi.lib to my project.
I'm using Watcom 10.5. Error is that linker can't find NetWkstaGetInfo.
Library is from Warp Connect c:\IBMLAN\NETSRC\LIB. I have only Peer services
Instaled. Do you have any idea ?
Thank in advance.
  bye Milan
... Catch the Blue Wave!
___ Blue Wave/QWK v2.12

--- Maximus/2 2.02
* Origin: The Cruiser BBS, Home of The Swedish OS/2 User Group (2:201/2104)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 201/2104 109/347 716 13/25 396/1 270/101 712/515 711/808 809 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™.