file transfer from client to server and vice versa using java socket programming

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ranajui
    New Member
    • Sep 2008
    • 1

    file transfer from client to server and vice versa using java socket programming

    design a protocol where the communication between a client and a server is established by means of socket connection in java.
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    And your question is?

    kind regards,

    Jos (moderator)

    Comment

    • pronerd
      Recognized Expert Contributor
      • Nov 2006
      • 392

      #3
      Originally posted by ranajui
      design a protocol where the communication between a client and a server is established by means of socket connection in java.
      This looks at lot like homework being posted to the forum again.

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by pronerd
        This looks at lot like homework being posted to the forum again.
        Yep, yet another code beggar (*); I hope we never have to meet one of those in
        the industry; there's enough crappy code around already.

        kind regards,

        Jos

        (*) actually I call them something else but this is a family forum so I won't repeat
        that here ;-)

        Comment

        • myusernotyours
          New Member
          • Nov 2007
          • 188

          #5
          Originally posted by ranajui
          design a protocol where the communication between a client and a server is established by means of socket connection in java.
          client<------------------------ protocol -------------------------------------->server

          I forget where the socket goes...

          Comment

          • rajujrk
            New Member
            • Aug 2008
            • 107

            #6
            use Socket for client side
            and ServerSocket for server side

            these two classes are TCP/IP protocol

            Comment

            Working...