Can a file be sent in TCP as a stream?

I am trying to implement a simple file transfer operation using TCP/IP sockets. I have found information about sending streams, but not packets. Is it possible to send files as streams? or even better, how do i implement sending packets using TCP/IP?

I am trying to implement a simple file transfer
operation using TCP/IP sockets. I have found
information about sending streams, but not packets. Is
it possible to send files as streams? or even better,
how do i implement sending packets using TCP/IP?TCP/IP has a layered design so you don't have to worry about the detail. When you use a stream, the data written to it (transparently to you) divided into packets, sent across the network and reassembled at the other end.
Good eh?
You need to read up on how to create a Socket and write data into its output stream.
And for the other end of the connection how to have a ServerSocket listening for such connections and doing something with data when it is received.

Similar Messages

  • HT4906 I have upgraded my OS to Mountain Lion and updated Iphoto to latest, however, I still can not access photos sent to me via photo stream. what else do I need to do? I'm $30 into this effort, and no results!

    I have upgraded my OS to Mountain Lion and updated Iphoto to latest, however, I still can not access photos sent to me via photo stream. what else do I need to do? I'm $30 into this effort, and no results!

    Log out of iCloud in the System/iCloud preference pane and disable Photo Stream in iPhoto's Photo Share preference pane.  Then log back in and re-enable, respectively.  That should jump start Photo Stream.
    OT

  • MAX capcity of file can be attched and sent To IXOS server

    Hi All
    want to know what will be the MAX capcity of file can be attched and sent To IXOS server ?
    can we contol it .
    =>How we attach document
    Store Business document in FD32
    It in ->Go to - FD32
    ->On Title BAR(customer credit management change :overview) click on the ICON displayed left corner
    Create - Store Business document
    It is below create attachments .
    Regards
    Sri

    It could be your Proxy but in addition check this: "Limiting the Length of the Request Body"
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/25/b0a4f6f2b03a43a727a165a4d6a555/frameset.htm
    I know as I had the same issue, there are no other settings that have a direct impact on the filesize for uploading. /thread/1192865 [original link is broken]
    Cheers,
    Benjamin

  • Can't overwrite files once sent as Mail attachments

    Apparently Mail claims a file once sent as an attachment and won't release it unless Mail is quit. Meaning you can't save over pdf's or jpegs once you email them. Puts a kink in my work flow. All day I see... can't create PDF, file is in use. No it's not! Any crafty work arounds out there? I could have sworn they fixed this in Snow Leapord. Thanks in advance.

    This is definitely a bug. Here is an other discussion:
    https://discussions.apple.com/message/23651809#23651809

  • How long a message can be sent via TCP using the TCP Read VI?

    Hello,
    How long can be a message sent between a TCP server and a TCP client using the TCP Read VI (LV2013)? There is a certain limit?
    Thank you.

    I think it just depends on your hardware's buffer size.  TCP sets limits on the size of packets that can be seent.  What are you trying to do?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • I can't see any sent messages, the alert message is Unab;e to open the summary file for sent. Please advise - Karen

    Hi .. I am not able to see any messages in my sent folder. The following alert message is showing on my screen
    Alert
    Unable to open the summary file for sent. Perhaps there was an error on disk, or the full path is too long
    Please advise
    Many thanks
    Karen

    try to rebuild the index file.
    Right click on Sent folder and select 'Properties'
    click on 'Repair folder' button
    click on OK
    close and reopen Thunderbird.
    It may also be possible that there are a lot of sent messages in the file.
    If rebuilding the index gets you access:
    # Delete any emails you do not want.
    # Archive all other emails or at least anything older than a month.
    # right click on folder and select 'Compact'
    see how to set up Archiving options:
    * https://support.mozilla.org/en-US/kb/archived-messages
    Is this a Pop or IMAP mail account folder?

  • IPAD3/IPAD2 :PDF files/ attachments  sent in an email  displayed inline ( embedded within the main email) in the message text on both my Ipad2 and Ipad three, however the same email displayed the PDF File icons/ attachment on both my Iphone and a friend's

    IPAD3/IPAD2 :PDF files/ attachments  sent in an email  displayed inline ( embedded within the main email) in the message text on both my Ipad2 and Ipad three, however the same email displayed the PDF File icons/ attachment on both my Iphone and a friend’s PC. How do i get both my IPAD devices to display the PDF icons/attachments? Bearing in mind if i open the same email over the internet the PDF Icons/attachments display OK!
    Has anyone come across this? Your advice/help would be most appreciated

    This happens to me all the time.
    If is a one page PDF it seems as though it comes over already open and inline in the body of the email. Multiple page PDF files show as the PDF icon.
    I can't find any official documentation of this - other than based on my own experience with PDF attachments in my various email accounts.
    Message was edited by: Demo

  • Full name of attachment not shown in MFCMAPI when file is sent using OWA

    Hi everyone,
    I am developing an application where I want to notify about file being sent in Microsoft Exchange. So, I have implemented notifications on the message store and trying to retrieve the file name. The problem is filename of only eight characters can be retrieved
    when a file is sent as an attachment using OWA. I am attaching 2 snapshots of the attachment table of two emails. I have sent a file as attachment using OWA (results shown in first snapshot) and using Microsoft Outlook (results shown in the second snapshot).
    Also the properties of attachment are less when a file is sent as an attachment in email using OWA.

    Hello Talib,
    I'd recommend asking OWA related questions in the
    SharePoint 2013 - General Discussions and Questions  forum instead. There you will get the most qualified feedback.  

  • I am developing a book via email with a collaborator. iBooks Files are sent to me via a link to preview on iPad. This worked fine for a while but now getting download errors and the unhappy mac face saying download failed. Any ideas?

    I am developing a book via email with a collaborator. iBooks Files are sent to me via a link to preview on iPad. This worked fine for a while but now getting download errors and the unhappy mac face saying download failed. Any help appreciated. Very frustrating!

        I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • Can video files be added to a slide show in Elements 5 or 10?

    Can video files be added to a slide show in Elements 5 or 10?

    I would recommend PSE11/PRE11 if you want to use them on an integrated basis. Only the current product is supported by Adobe. Or you could get PRE10 if you are not concerned about support.
    But be aware that one version will not integrate with another. They will work as stand alone apps but you would loose some flexibility. For example I start in the Slideshow editor in PSE, add my photos and transitions and then click Output >> Edit with PRE. The slideshow gets sent automatically as a clip and I can do further editing, add video, add music and narration etc.

  • My recipient is getting response that the file I sent is not available or they are unable to open any files that I send.

    My recipient is getting response that the file I sent is not available or they are unable to open any files that I send.  I did not have this problem in the previous version of Adobe Send.

    Thanks for replying.
    If he's reading the email in Outlook, that shouldn't break up the links.
    Do you know: is your recipient clicking on the View File button or the URL link?
    Lastly, if the file you're sending is not confidential, would you mind sharing it with me so that I can try to reproduce your recipient's issue? I will send you my email address privately.

  • HELP!!!i can download files from the internet but i can not open them,help!

    I am running mac os x 10.5 i can download files from the internet but adobe reader 9 keeps telling me they can not decode them,( Adobe Reader could not open 'dap93.exe' because it is either not a supported file type or because the file has been damaged) (for example, it was sent as an email attachment and wasn't correctly decoded). help!
    Message was edited by: kjsk8n

    Adobe Reader does not open .EXE files, it opens .PDF files.  If you were on Windows I would tell you to fix the file association, but I have no idea how to do that on a Mac.

  • How can I email a video clip I downloaded into my iPhoto library to my friends? I tried creating an email and attaching the clip but there is no sound and no picture when the 5 minute attachment "plays." How can I file= export it to them from iPhoto?

    How can I email a video clip I downloaded into my iPhoto library to my friends? I tried creating an email and attaching the clip but there is no sound and no picture when the 5 minute attachment "plays." How can I file=>export it to them from iPhoto?

    Have them install Quicktime on their PC's from Apple's website, that's the easiest fix.

  • My SENT mailbox is empty on my computer, mail up til yesterday is on mobileme on browser. I used to have 'my .mac account' and 'on my computer' as mailboxes. 'On my computer' has disappeared. HOW can I restore my SENT mail list? tnx

    any help or suggestions would be most welcome. The contents of my sent box disappeared once before, but came back after relaunching. Not this time.
    tnx eliza

    Thanks, Chris ~
    Sync has not worked (yet) ~
    I'll try archiving from mobileme mail on browser... I can't open the SENT mailbox on TIme Machine on my computer. [It's not the end of the world to lose my Sent Mail, bcz it is still availble via brwoser, but I prefer to be in charge of my computer, not it in charge of me :-D]
    So much to learn!

  • How do I add a "file folder" to my TC so that I can save files directly to the TC?

    I am trying to figure out how I can add a "File Folder" to my TC so that I can save files directly to it? The only folder it displays is "Data" which is where my bac ups save...

    Double click on the "Data" folder in the Finder under the SHARED heading, and then click the gear icon at the top of the window and select New Folder.
    You can name this folder anything you wish and also create as many folders as you wish.
    If you are also using the Time Capsule drive for Time Machine backups, it is not really recommended that you "mix" regular files with Time Machine backups because there will be a struggle for space on the drive at some point.
    If you have plenty of free space on the Time Capsule drive, you may be OK with keeping a portion dedicated for regular files.

Maybe you are looking for

  • The grace period for the Remote Desktop Session Host server has expired

    <p>I'm running Windows Server 2012, we only have 1 server and it's a DC.  I'm trying to RD to the server from my Windows 7 laptop. It was working fine on Friday but when I came in on Monday I got message saying that 'The remote session was disconnnec

  • How can i tell if i have extended warranty or not?

    my iphone 4s will not charge and im told that this is covered by extended warranty.  My father has said that we have extended warranty but im not entirely sure if he meant that or apple care.. how can i tell what i actually have

  • Mac says 'Flash Installer is damaged"

    I used the download straight from Adobe website and my Mac says it's damaged and won't open file. Says to 'eject disk image.' I uninstalled all Adobe products and deleted all downloads to start fresh and keep getting the same message. What to do??

  • Photoshop CS6 automatic shape layers?

    In Photoshop CS6, I have Shape Layer B clipped (ctrl alt G) by Shape Layer A. SL-B has a color fill different from SL-A, and has 50% opacity. Is there a way to automatically make every new Shape Layer drawn to have the same transparency and fill colo

  • Differences between C TAW12-04 & C TAW12

    Dear All, I want to know about ABAP certification exam id C TAW12-04 & C TAW12. What is the difference about these IDs? What are the course materials of these two exams?