How to deliver HD video to client

Hi Everyone,
I could use some help. I have a HD project I need to deliver to a client ASAP. I honestly am not sure the best way to do it. I shot the video in HD and thought I could use a dual layer DVD. I do not have a blue ray burner, but can buy one if that is the only answer.
Thank you,

A  DVD that plays in a standard DVD player is standard definition. The regular DVD player set top box will neither read a Blu Ray disk, nor output an HD signal for display.
So . . . you would export a QuickTime movie of your final sequence, without conversion from FCP. Then take that exported sequence into Compressor and use Compressor to encode the video into the format for DVD. The Compressor pre-set you choose will be based on the running time of the sequence you exported:
Choose your pre-set, and let Compressor go to work. The HD will be transcoded to SD at this time.
Once you have had Compressor do the conversion, you will have two new files - a video file and an audio file. You'll need to import these into DVD Studio Pro, where you can create your menus, etc. for the DVD. Once that is complete, have DVD Studio Pro burn the DVD.
MtD

Similar Messages

  • How to deliver add-on installation package to clients

    Hi,
    We have successfully released the add-on installation package. Now how could we deliver it our clients. how could we deliver the package to others.
    regards
    chinta

    sorry bro,
    it did not help me.
    i would like to know how i could deliver my package to my clients.
    i have a pat file with me, i have a password of it, i have successfully released the package.
    but how i could deliver it to my clients..
    say if you want to use my package how could i give it to you. bro.
    regards
    chinta

  • How to deliver the olap reports to clients

    Hi
    Please some one guide us on how to deliver the created OLAP worksheets to clients. Is that possible??
    Regards
    S. Kokila

    If by clients you mean end users, then yes: you can deliver OLAP reports via the web, using Discoverer Plus OLAP, or Discoverer Viewer, or via Oracle Portal using the Discoverer Portlet Provider.
    You could also deliver OLAP content using the Oracle BI Spreadsheet Add-In via Microsoft Excel.
    Finally, you could also create custom JSPs using BI Beans to create your own web pages with OLAP content.
    If by clients you mean a client-server environment then the answer is no.
    Thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    Discoverer: http://www.oracle.com/technology/products/discoverer/
    BI Beans: http://www.oracle.com/technology/products/bib/
    BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
    Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    OTN Forum: Discoverer
    Blog: http://oraclebi.blogspot.com/

  • How can I deliver HD Video in different bitrate based on enduser's bandwidth

    Hi,
    I am new to Flash Media Server. I want to deliver HD Video  in different bitrate based on enduser's bandwidth.Also enduser should able to change the bit rate like 200p, 700p, 1500p.
    How can i achieve this.
    Thanks in advance.

    Check this link: it should help you: - http://www.adobe.com/devnet/flashmediaserver/articles/beginner_dynstream_fms.html(related links at end of this article)
    Also watch this video : http://fmsguru.com/showtutorial.cfm?tutorialID=40

  • Partitioning Drive for Mac and PC to deliver 10GB video file

    I need to deliver several video files to a client on a drive.
    Because some of the clips are over 10GB I cannot use the drive in its current FAT state.
    I want / need the drive to be read by both Mac AND PC.
    If this is the case, and I cannot use FAT, should I partition the drive into TWO partitions?
    If so, should I then make one partition for Mac and the other for PC... then upload the video files twice, once to each partition?
    Is there an alternative? How do I make the drive partitioned for both allowing the video to be ready by both Mac and PC.
    Can I do what needs to be done using Disk Utility?
    What 2 formats should I use? Is MS-DOS (FAT) the windows based partition, and is that the only one? And won't that not work for my issue of needing to load a file over 4 gigs?
    What partition scheme do I want? It appears I can only use one partition scheme... or is this incorrect?
    I'm using Mac OS X 10.5.5
    Computer is Mac G5. Drive is the WD 250GB passport.
    Thanks

    If you format the drive as Microsft NTFS, there will be no problem with split files.
    [NTFS-3G 2009.4.4 Driver|http://macntfs-3g.blogspot.com>
    [Instructions|http://hem.bredband.net/catacombae/ntfs-3g/macntfs-3g_userguide.pd f] Be sure to read them!
    The PC needs to be running Win NT, 2000, XP, Vista etc to read the NTFS format.

  • Kichat: FAQ 3 - How do I get Video and Audio Chats with PCs ?

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
    How do I get Video and Audio Chats with PCs ? iChat FAQ 3 (Updated 3/4/2009)
    Applies to iChat 2.x, iChat 3.x and iChat 4.x to any version of AIM on a PC before AIM 6.1
    See bottom section on AIM 6.5 and 6.8 on XP and Vista.
    This piece is designed for those trying to connect Mac to PC for Video and Audio chats. Any iChat version Panther and up.
    Glossary For This FAQ
    This bit is designed for clarity.
    Video is the sending and /or receiving of pictures and sound.
    Audio is the sending and or receiving of sound only.
    One-Way is the ability to start either an Audio or Video chat from one end to a recipient who can not match your capabilities (or Vice Versa)
    What is needed
    At the Mac end
    A Mac running OS 10.3.x and iChat AV ver 2.1 or 10.4 plus iChat 3 or Leopard and iChat 4
    A DSL/Cable/Fibre (Broadband) connection of at least an up link speed of 256kbs.
    An AIM , @mac.com or MobileMe (@me.com) account name.
    (hosting Multiple person Mac to Mac AV chats requires higher specs and broadband uplink speed).
    At the PC end
    1 PC running windows XP (home or Pro). THIS A MUST
    The AIM Standalone Application, currently at ver. 5.9 at this link. AIM (the Site) now call this version Classic and it cannot be Installed On Vista
    Note: there is also Trillian which has a Pro version for $25 that can also Video and Audio chat. The Basic version just Texts and Audio Chats (AIM does not Audio chat)
    Some need the aimrtc12.exe file from Here Mostly Earlier than XP or Pre Service Pack 2 XP versions of Windows
    An AIM account/screen name (AOL or Netscape count as well)
    Service Pack 2 info. This info will allow the PC user to enable AIM thorough the XP Firewall. The Windows Firewall did not exist as such before this.
    Between both of you.
    At least one camera (Mac end works better)
    A sound input device (the camera, if it has one is ok)
    Your Buddies screen/account name in each others Buddy Lists
    Other tweaks
    For some people, using AIM on a PC, may also have to make sure their preferences (properties) are set in the AIM Buddy list, for their camera and /or Mic. (Tuning at Message 570)
    This is an icon button lower right on the Buddy List marked "Prefs" (AIM 5.5). This leads to the Preferences. Drop down the list until you read Live Video. Click on this. In the new window that opens click the button that says Tuning Video and Audio. Follow the instructions in the wizard that opens up. Access in AIM 5.9 for this is in the My AIM menu at the top of the Buddy list and then Options
    To Start
    You should now be able to chat to each other.
    If each of you has a camera it can be full Video , as described in the Glossary at the top.
    To start from the Mac end, select (highlight) your Buddy with one click. His camera icon should be dark. Click on the icon near his name or the one at the bottom of the Buddy List. (You do not have to start a text chat).
    To start from the PC end you need to start a text chat, then select the Video icon at the bottom of the chat window.
    If one of you has a camera and the other has a Mic then you will be able to video chat One Way but sound will be both ways.
    To start this type of chat from the Mac end you will have to go to the menu item "Buddies" and drop down to the item "Invite to One Way Video Chat"
    To start this from a PC follow the directions in the paragraph above. You may need to change the tab to the incoming Video at the back of the two to see the Video. These tabs are added when the Video chat starts and the front one normally states you do not have a camera and shows a connection to buy one.
    It is also possible to chat One Way if the other person does not have a Mic: replies will have to be typed in a Text chat.
    No Camera and No Mic will cause iChat to End the chat with "No Data Received for 10 Secs"
    Summary
    PC end gets AIM 5.9 or Trillian Pro.
    The PC end allows the app through the XP Firewall.
    AIM 5.9 needs "Tuning" to Camera and Mic.
    For any sort of sound to a PC using AIM, (Talk in PC or Audio in iChat) the Mac will need a camera. The other person can have a Mic and then live chats with sound both ways and Pictures (Video) One-Way.
    NOTE: At This Time It Is NOT Possible to Audio (sound only) between Mac & PC with AIM & iChat
    Trillian Basic can Audio. Trillian Pro can Video and has a bigger picture and can do Full Screen.
    Another explanation of the set up can be found Here about AIM 5.5 but is transferable to AIM 5.9.
    And Also here
    My Web Pages particularly all of Page 12: What if your Girlfriend Lives a Long Way Away ? have more information.
    <hr>
    AIM 6.5 and 6.8 On Vista and XP
    AIM 5.9 or earlier can not be installed on Vista.
    AIM 6.5 and 6.8 use a new video codec with a description of "Real Time IM"
    AIM have an FAQ page about this
    Below the pics is this quote
    What do I need to use Real-Time IM?
    You and your buddy need to be using AIM® 6.8 or higher to use Real-Time IM. Unfortunately, Real-Time IM does not yet work with older AIM clients, iChat®, or AIM® for Mac®.
    See items 5 through 13 on this page for alternatives including Web Browser based ones.
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    This is the 2nd version of this tip. It was submitted on Saturday; April 4, 2009, 9:52 PM by Ralph Jonhs (UK).
    Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

    This is the one I have been wating for
    http://discussions.apple.com/thread.jspa?threadID=406152
    kichat: Look and sound great in iChat!
    Ian's First FAQ
    Also New Today
    http://discussions.apple.com/thread.jspa?threadID=121775
    kichat: FAQ 2 - How to get my router to work with iChat?
    And
    http://discussions.apple.com/thread.jspa?threadID=121665
    kichat: FAQ 1 - What do I need to start in iChat ?
    11:20 PM Thursday; March 16, 2006

  • Transfer Video to client

    can you please help me to know how server when play video ,can send stream to client so that client can watch movie on his media player without downloading file from server .

    REPEATED MULTI POST
    http://forum.java.sun.com/thread.jspa?threadID=716843&tstart=0
    Please stick to one thread deepak!

  • How to open a video in a JMF without using its absolute path?

    I locking a media file during decryption and I have to pass on the same filestream object to the player to play the video,but so far I have only seem only how to play the video after providing the URL or the path.
    I want an alternate method please.

    To play a video from a filestream, you'd need to write a custom DataSource that will deliver the file data to JMF... which is going to be a pretty complicated project.

  • How to download a video in iPhoto to iMovie?

    As a newbie in using the video feature on my camera, I did so in portrait frame. Upon downloading the video to iPhoto, I was not able to rotate it in order to view it properly as well as mount it on my client's website. I have learned iPhoto cannot rotate of a video and was informed I need to perform this task using iMovie.
    This is all very new to me therefore seek assistance on how to transfer the video from iPhoto into iMovie and rotate it for viewing purposes.
    Your assistance is greatly appreciated.
    Thank you, in advance.

    In the event library in iMovie you should be able to see iPhoto videos - click on this, find the video you want to rotate, make sure you select the whole clip and then click and drag it to an existing iMovie event.
    Once you've done this, add the iPhoto video into a new or existing project, and with the clip highlighted press the 'C' button on your keyboard, or the clip tool in iMovie, either of which will open a crop window which will have at the top of it a left and right rotate button.
    Refer to the following links for more information
    http://support.apple.com/kb/PH2302
    http://support.apple.com/kb/PH2234

  • TS3989 How can I load videos from a GoPro camera to photo stream?

    How can I load videos from a GoPro camera to photo stream? I can download pictures but no videos.

    Helllo AM and Bob,
    It sounds like you are wanitng to add video to your Shared Photo Stream. this article outlines the requirements for video that can be used, named:
    iCloud: iCloud Photo Sharing FAQ
    http://support.apple.com/kb/HT5902
    iCloud Photo Sharing supports both MP4 and QuickTime video file types, and H.264 and MPEG-4 Video file formats. Videos can be up to 5 minutes in length and are delivered at up to 720p resolution.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Best process to deliver QT to PC clients who don't have QT player?

    Hello,
    Since we edit with FCP, export to Quicktime, and a large number of clients use PC's that don't have a Quicktime player, what would the best process or way to deliver a video to them? Is there a great video converter out there without having to spend a lot of money? What process do you use to reveal your rough draft to clients? Any information to solve this would be appreciated.
    Thanks,
    Jordan

    Jordan, 99% of my end-users are PC users. I gave up trying to get them to play my QT files and always send them WMV. I always use Flip for Mac for this and it works flawlessly every time. Buy the least expensive version version and if you need more capability upgrade to a better package.
    Just yesterday I sent my boss an H.264 for a Power Point presentation and even though he has OT installed on his computer, it still did not work. You can't fight the Microsoft!

  • How can I send video email

    I see a lot of sites offering video email. Does .mac offer video email? If so, how do I send video email.

    You can attach a QuickTime or other video file to a mail message, though these tend to get clipped off and stripped off at mail servers — even compressed video files tend to be huge. The recipient gets to buffer the file in local storage, and can also have issues downloading the file on slower links.
    You can send HTML-format mail and link to a video file on a server. (I tend to avoid loading HTML files from remote sites for various reasons, and I'm not alone here.) This is probably what these "video email services" are providing: storage, and a way to link to it from within an HTML-format mail message.
    Or you could look to iChat or other such interactive mechanisms. iChat is part of Mac OS X and iChat Server is part of Mac OS X Server.
    As for .Mac and such, a specific [.Mac Discussion Forum|http://discussions.apple.com/category.jspa?categoryID=116] is available, as is the [Apple Mail client forum|http://discussions.apple.com/forum.jspa?forumID=753].

  • How do I add video to be hosted directly on my MUSE site without using a third party site like Vimeo / You tube etc ?

    How do I add video to be hosted directly on my MUSE site without using a third party like Vimeo / You tube etc ?

    Hi,
    You can consider html video tag to do this. You will need to add it in Muse using, Object-insert as html. Detailed instructions can be viewed here
    HTML video Tag

  • Update to kichat: FAQ 3 - How do I get Video and Audio Chats with PCs ?

    kichat: FAQ 3 - How do I get Video and Audio Chats with PCs ?
    (To Replace http://discussions.apple.com/thread.jspa?threadID=406147 if Accepted. )
    How do I get Video and Audio Chats with PCs ? iChat FAQ 3 (Updated 7/12/2008)
    Applies to iChat 2.x, iChat 3.x and iChat 4.x to any version of AIM on a PC before AIM 6.1
    This piece is designed for those trying to connect Mac to PC for Video and Audio chats. Any iChat version Panther and up.
    Glossary For This FAQ
    This bit is designed for clarity.
    Video is the sending and /or recieving of pictures and sound.
    Audio is the sending and or receiving of sound only.
    One-Way is the ablity to start either an Audio or Video chat from one end to a receipient who can not match your capabilities (or Vice Versa)
    What is needed
    At the Mac end
    A Mac running OS 10.3.x and iChat AV ver 2.1 or 10.4 plus iChat 3 or Leopard and iChat 4
    A DSL/Cable/Fibre (Broadband) connection of at least an up link speed of 256kbs.
    An AIM , @mac.com or MobileMe (@me.com) account name.
    (hosting Multiple person Mac to Mac AV chats requires higher specs and broadband uplink speed).
    At the PC end
    1 PC running windows XP (home or Pro). THIS A MUST
    The AIM Standalone Application, currently at ver. 5.9 at this link. AIM (the Site) now call this version Classic and it cannot be Installed On Vista
    Note: there is also Trillian which has a Pro version for $25 that can also Video and Audio chat. The Basic version just Texts and Audio Chats (AIM does not Audio chat)
    Some need the aimrtc12.exe file from Here Mostly Earlier than XP or Pre Service Pack 2 XP versions of Windows
    Note: It has been noted that this file is now apparently included in Windows XP after Service Pack 2 and above.
    An AIM account/screen name (AOL or Netscape count as well)
    Service Pack 2 info. This info will allow the PC user to enable AIM thorough the XP Firewall. The Windows Firewall did not exist as such before this
    Between both of you.
    At least one camera (Mac end)
    A sound input device (the camera, if it has one is ok)
    Your Buddies screen/account name in each others Buddy Lists
    Other tweaks
    For some people, using AIM on a PC, may also have to make sure their preferences (properties) are set in the AIM Buddy list, for their camera and /or Mic. (Tuning at Message 570)
    This is an icon button lower right on the Buddy List marked "Prefs" (AIM 5.5). This leads to the Preferences. Drop down the list until you read Live Video. Click on this. In the new window that opens click the button that says Tuning Video and Audio. Follow the instructions in the wizard that opens up. Access in AIM 5.9 for this is in the My AIM menu at the top of the Buddy list and then Options
    To Start
    You should now be able to chat to each other.
    If each of you has a camera it can be full Video , as described in the Glossary at the top.
    To start from the Mac end, select (highlight) your Buddy with one click. His camera icon should be dark. Click on the icon near his name or the one at the bottom of the Buddy List. (You do not have to start a text chat).
    To start from the PC end you need to start a text chat, then select the Video icon at the bottom of the chat window.
    If one of you has a camera and the other has a Mic then you will be able to chat One Way but have sound will be both ways.
    To start this type of chat from the Mac end you will have to go to the menu item "Buddies" and drop down to the item "Invite to One Way Video Chat"
    To start this from a PC follow the directions in the pargraph above. You may need to change the tab to the incoming Video at the back of the two to see the Video. These tabs are added when the Video chat starts and the front one normally states you do not have a camera and shows a connection to buy one.
    It is also possible to chat One Way if the other person does not have a Mic: replies will have to be typed in a Text chat.
    No Camera and No Mic will cause iChat to End the chat with "No Data Received for 10 Secs"
    Summary
    For any sort of sound to a PC using AIM, (Talk in PC or Audio in iChat) the Mac will need a camera. The other person can have a Mic and then live chats with sound both ways and Pictures (Video) the other.
    NOTE: At This Time It Is NOT Possible to Audio (sound only) between Mac & PC with AIM & iChat
    Trillian Basic can Audio. Trillian Pro can Video and has a bigger picture and can do Full Screen.
    Another explanation of the set up can be found Here about AIM 5.5 but is transferable.
    And Also here
    My Web Pages particularly all of Page 12: What if your Girlfriend Lives a Long Way Away ? have more information.
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    4:24 PM Sunday; December 7, 2008

    kichat: FAQ 3 - How do I get Video and Audio Chats with PCs ?
    (To Replace http://discussions.apple.com/thread.jspa?threadID=406147 if Accepted. )
    How do I get Video and Audio Chats with PCs ? iChat FAQ 3 (Updated 7/12/2008)
    Applies to iChat 2.x, iChat 3.x and iChat 4.x to any version of AIM on a PC before AIM 6.1
    This piece is designed for those trying to connect Mac to PC for Video and Audio chats. Any iChat version Panther and up.
    Glossary For This FAQ
    This bit is designed for clarity.
    Video is the sending and /or recieving of pictures and sound.
    Audio is the sending and or receiving of sound only.
    One-Way is the ablity to start either an Audio or Video chat from one end to a receipient who can not match your capabilities (or Vice Versa)
    What is needed
    At the Mac end
    A Mac running OS 10.3.x and iChat AV ver 2.1 or 10.4 plus iChat 3 or Leopard and iChat 4
    A DSL/Cable/Fibre (Broadband) connection of at least an up link speed of 256kbs.
    An AIM , @mac.com or MobileMe (@me.com) account name.
    (hosting Multiple person Mac to Mac AV chats requires higher specs and broadband uplink speed).
    At the PC end
    1 PC running windows XP (home or Pro). THIS A MUST
    The AIM Standalone Application, currently at ver. 5.9 at this link. AIM (the Site) now call this version Classic and it cannot be Installed On Vista
    Note: there is also Trillian which has a Pro version for $25 that can also Video and Audio chat. The Basic version just Texts and Audio Chats (AIM does not Audio chat)
    Some need the aimrtc12.exe file from Here Mostly Earlier than XP or Pre Service Pack 2 XP versions of Windows
    Note: It has been noted that this file is now just another link to the Standalone application. This might be an error by AIM or a newer version that includes the file.
    An AIM account/screen name (AOL or Netscape count as well)
    Service Pack 2 info. This info will allow the PC user to enable AIM thorough the XP Firewall. The Windows Firewall did not exist as such before this
    Between both of you.
    At least one camera (Mac end)
    A sound input device (the camera, if it has one is ok)
    Your Buddies screen/account name in each others Buddy Lists
    Other tweaks
    For some people, using AIM on a PC, may also have to make sure their preferences (properties) are set in the AIM Buddy list, for their camera and /or Mic. (Tuning at Message 570)
    This is an icon button lower right on the Buddy List marked "Prefs" (AIM 5.5). This leads to the Preferences. Drop down the list until you read Live Video. Click on this. In the new window that opens click the button that says Tuning Video and Audio. Follow the instructions in the wizard that opens up. Access in AIM 5.9 for this is in the My AIM menu at the top of the Buddy list and then Options
    To Start
    You should now be able to chat to each other.
    If each of you has a camera it can be full Video , as described in the Glossary at the top.
    To start from the Mac end, select (highlight) your Buddy with one click. His camera icon should be dark. Click on the icon near his name or the one at the bottom of the Buddy List. (You do not have to start a text chat).
    To start from the PC end you need to start a text chat, then select the Video icon at the bottom of the chat window.
    If one of you has a camera and the other has a Mic then you will be able to chat One Way but have sound will be both ways.
    To start this type of chat from the Mac end you will have to go to the menu item "Buddies" and drop down to the item "Invite to One Way Video Chat"
    To start this from a PC follow the directions in the pargraph above. You may need to change the tab to the incoming Video at the back of the two to see the Video. These tabs are added when the Video chat starts and the front one normally states you do not have a camera and shows a connection to buy one.
    It is also possible to chat One Way if the other person does not have a Mic: replies will have to be typed in a Text chat.
    No Camera and No Mic will cause iChat to End the chat with "No Data Received for 10 Secs"
    Summary
    For any sort of sound to a PC using AIM, (Talk in PC or Audio in iChat) the Mac will need a camera. The other person can have a Mic and then live chats with sound both ways and Pictures (Video) the other.
    NOTE: At This Time It Is NOT Possible to Audio (sound only) between Mac & PC with AIM & iChat
    Trillian Basic can Audio. Trillian Pro can Video and has a bigger picture and can do Full Screen.
    Another explanation of the set up can be found Here about AIM 5.5 but is transferable.
    And Also here
    My Web Pages particularly all of Page 12: What if your Girlfriend Lives a Long Way Away ? have more information.
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    9:19 PM Friday; December 12, 2008

  • Async tcp client and server. How can I determine that the client or the server is no longer available?

    Hello. I would like to write async tcp client and server. I wrote this code but a have a problem, when I call the disconnect method on client or stop method on server. I can't identify that the client or the server is no longer connected.
    I thought I will get an exception if the client or the server is not available but this is not happening.
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    How can I determine that the client or the server is no longer available?
    Server
    public class Server
    private readonly Dictionary<IPEndPoint, TcpClient> clients = new Dictionary<IPEndPoint, TcpClient>();
    private readonly List<CancellationTokenSource> cancellationTokens = new List<CancellationTokenSource>();
    private TcpListener tcpListener;
    private bool isStarted;
    public event Action<string> NewMessage;
    public async Task Start(int port)
    this.tcpListener = TcpListener.Create(port);
    this.tcpListener.Start();
    this.isStarted = true;
    while (this.isStarted)
    var tcpClient = await this.tcpListener.AcceptTcpClientAsync();
    var cts = new CancellationTokenSource();
    this.cancellationTokens.Add(cts);
    await Task.Factory.StartNew(() => this.Process(cts.Token, tcpClient), cts.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
    public void Stop()
    this.isStarted = false;
    foreach (var cancellationTokenSource in this.cancellationTokens)
    cancellationTokenSource.Cancel();
    foreach (var tcpClient in this.clients.Values)
    tcpClient.GetStream().Close();
    tcpClient.Close();
    this.clients.Clear();
    public async Task SendMessage(string message, IPEndPoint endPoint)
    try
    var tcpClient = this.clients[endPoint];
    await this.Send(tcpClient.GetStream(), Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async Task Process(CancellationToken cancellationToken, TcpClient tcpClient)
    try
    var stream = tcpClient.GetStream();
    this.clients.Add((IPEndPoint)tcpClient.Client.RemoteEndPoint, tcpClient);
    while (!cancellationToken.IsCancellationRequested)
    var data = await this.Receive(stream);
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(NetworkStream stream, byte[] buf)
    await stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive(NetworkStream stream)
    var lengthBytes = new byte[4];
    await stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await stream.ReadAsync(buf, 0, buf.Length);
    return buf;
    Client
    public class Client
    private TcpClient tcpClient;
    private NetworkStream stream;
    public event Action<string> NewMessage;
    public async void Connect(string host, int port)
    try
    this.tcpClient = new TcpClient();
    await this.tcpClient.ConnectAsync(host, port);
    this.stream = this.tcpClient.GetStream();
    this.Process();
    catch (Exception exception)
    public void Disconnect()
    try
    this.stream.Close();
    this.tcpClient.Close();
    catch (Exception exception)
    public async void SendMessage(string message)
    try
    await this.Send(Encoding.ASCII.GetBytes(message));
    catch (Exception exception)
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    private async Task Send(byte[] buf)
    await this.stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
    await this.stream.WriteAsync(buf, 0, buf.Length);
    private async Task<byte[]> Receive()
    var lengthBytes = new byte[4];
    await this.stream.ReadAsync(lengthBytes, 0, 4);
    var length = BitConverter.ToInt32(lengthBytes, 0);
    var buf = new byte[length];
    await this.stream.ReadAsync(buf, 0, buf.Length);
    return buf;

    Hi,
    Have you debug these two applications? Does it go into the catch exception block when you close the client or the server?
    According to my test, it will throw an exception when the client or the server is closed, just log the exception message in the catch block and then you'll get it:
    private async void Process()
    try
    while (true)
    var data = await this.Receive();
    this.NewMessage.Invoke(Encoding.ASCII.GetString(data));
    catch (Exception exception)
    Console.WriteLine(exception.Message);
    Unable to read data from the transport connection: An existing   connection was forcibly closed by the remote host.
    By the way, I don't know what the SafeInvoke method is, it may be an extension method, right? I used Invoke instead to test it.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Transformation issue - Message no: RSTRAN517

    Hello experts, When trying to activate the Transformation for an InfoCube, I get the error message: Rule (target field: ZD_REV1): No source unit assigned Message no. RSTRAN517 Looking forward to your assistance in resolving this. Thank you!

  • Line items in FAGLB03

    Hello, My user wants to see line items in FAGLB03. When we click on balances we get a message that *No items are selected. But when we see in FAGLL03 we can see line items.I have checked authorization issue also . Can you suggest me how to see line i

  • Source control read only notification

    In Dreamweaver when you change to an associated file you get a nice bar letting you know the file is read only and a link to check it out. Is there any way to get that for the actual file your opening? The only notice you have when opening files from

  • SCCM 2012 SUP locations

    What is a best practice for SUP Installation. I have read that if your SUP goes down , the clients will assign to another SUP and at that time re-scan for entire catalog (a lot of traffic) So if we keep only one SUP in the primary location and it goe

  • Upgraded my iPad2 with OS 5 today and my ibook collections is empty. how do i restore my books??

    hi just upgraded the ipad2 with OS 5 all new features are working well but ca.nnot see my books in the ibooks? Would appreciate if someone can guide on how to retrive my books in to IBooks. thanks