Results 1 to 2 of 2

Thread: Winsock

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Location
    ca, usa
    Posts
    91

    Post

    I made a Web Server program to host webpages, but i am having one little problem, when the user requests a graphic thats on the webpage the server reads the file name and sends it to the user, but right after it is done sending the file to the port (80) it closes the connection and that in turn kills all of the data that was in the port, and the file is not displayed because it wasnt downloaded all the way, is there a way to find out how much data is in the port? so i can say

    if portdata >0 then keep sending else close connection

    Thank you,
    Jeremy H.

    ------------------
    [email protected]

  2. #2
    Addicted Member
    Join Date
    Jan 1999
    Posts
    173

    Post

    Could you send me the code? I will have a look: [email protected]

    ------------------
    "To the glory of God!"

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