This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "new to Socket prgramming" Watch "new to Socket prgramming" New topic
Author

new to Socket prgramming

Priya Lavti
Ranch Hand

Joined: Oct 11, 2004
Posts: 41
Hi
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.


-Priya
SCJP 5.0
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8935
    
    9

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: new to Socket prgramming