CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: host and client

  1. #1
    Join Date
    Oct 2007
    Posts
    84

    host and client

    hi,
    i want to make a printing controller, where the host will give the client a permission to print in host's printer. he will add the client in the printer permission list box.

    first
    i need to make a host / client, where the client will connect to the host.

    anyone please...help

    tia

  2. #2
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: host and client

    You need some communication platform. You can use raw TCP sockets (not recommended), .NET remoting (obsolete, but works) or WFC (lattest technology, recommended). Or any other network communication protocol like HTTP.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

  3. #3
    Join Date
    Oct 2007
    Posts
    84

    Re: host and client

    what will i search in the google to do this?

    thanks

  4. #4
    Join Date
    Jun 2009
    Posts
    144

    Re: host and client

    you can pause the printer and then just unpause it to print, if you want to avoid unauthorized printing... now if you want to do it with c# i believe that you need to read about WFC generally.

  5. #5
    Join Date
    Oct 2007
    Posts
    84

    Re: host and client

    what does the WFC do?

  6. #6
    Join Date
    Sep 2006
    Posts
    31

    Re: host and client

    Windows Communication Foundation
    Here you go:
    http://msdn.microsoft.com/en-us/library/ms735119.aspx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured