File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes socket saving file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "socket saving file" Watch "socket saving file" New topic

socket saving file

isamu alva

Joined: May 31, 2012
Posts: 1
yo there! Im working in a server based on sockets , in fact I already have the code but im lost , because I dont know how to embeds a small code and how to modify the code
Heres the server code [runs, listen , accept connections, and relays messages]

heres the class that supports the server

and heres the client

then what?? I have no clue how to be embeding this litle counter,(I dont know even where if in the server or the client)

this counter its supposed to count how many words are writen and then write a file back in the server/

Thanks for any comment
I agree. Here's the link:
subject: socket saving file
It's not a secret anymore!