using named pipe in samba

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jul 25 07:39:13 GMT 2007


On Tue, Jul 24, 2007 at 10:07:10PM -0700, lu ping wrote:
> In Windows, the client could use CreateFile to connect to an existing named
> pipe in the server, and then read/write data using it. Now I want to
> implement the same functionality using samba. However, it seems there is no
> obvious windows-like APIs that I can use here, like those in the svcctl.
> Could anybody help to point out which part of the source code I shall refer
> to, or is there any examples I can learn from.

We do have the various open calls in libsmb, for example
cli_nt_create_full. You could use that. Not exactly
Windows-like, but it should do it.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070725/a40a47c2/attachment.bin


More information about the samba-technical mailing list