+ Reply to Thread
Results 1 to 2 of 2

Thread: Which is better Named Pipe or Socket?

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    49

    Which is better Named Pipe or Socket?

    I am searching for better way to use inter-process communication (IPC).

    There are more ways to implement the IPC.

    I have concluded two ways for it:
    a. Sockets
    b. Names Pipes

    What should I use for my application?

  2. #2
    Junior Member
    Join Date
    May 2012
    Posts
    28
    It depends upon what kind of application your are making.

    a. Is it for LAN or WAN?
    b. Is it for Local machine only or more than one machine involved?
    c. What could be your target Network environment. Slow/fast?

    a. If it is for local only machine choose Named Pipes.
    b. if it is LAN than you can use Named Pipes for fast network environment.
    c. Other cases should use sockets.

    For more information, you can visit:
    http://msdn.microsoft.com/en-us/libr...sql.80%29.aspx

    Hope this helps.

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

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