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 new to Socket prgramming 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 "new to Socket prgramming" Watch "new to Socket prgramming" New topic

new to Socket prgramming

Priya Lavti
Ranch Hand

Joined: Oct 11, 2004
Posts: 41
I am new to socket programming. I want to test a client which opens a socket connection to read data. So to test the client I ve to create a dummy socket connection. Can any one help me how should i create a socket connection to run and test the client.

SCJP 5.0
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

Have a look at the Java Tutorial: Custom Networking chapter. It's got a number of examples and helpful background information on how things work.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: new to Socket prgramming
It's not a secret anymore!