This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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: 8718
    
    6

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]
 
Don't get me started about those stupid light bulbs.
 
subject: new to Socket prgramming
 
Similar Threads
How to determine the OPTIMAL number of connections accepted by the server socket
What does Data Server do&Data Client do?
Socket connection best practice
Pool of socket connections
Plz help to solve it.