Home Answers Viewqa Java-Beginners socket class in java

 
 


sasikumar
socket class in java
0 Answer(s)      3 years and a month ago
Posted in : Java Beginners

i created server and client class using socket....

i have used localhost and port as 2010....

if again i connected in that port it is saying already the port is used....


now my question is how to close the port after it is used...??

plz...help me in this..

View Answers









Related Pages:
socket class in java - Java Beginners
socket class in java  i created server and client class using socket.... i have used localhost and port as 2010.... if again i connected in that port it is saying already the port is used.... now my question is how
What is Java Client Socket?
socket connections. To get connection in client socket in java used the class...What is Java Client Socket?  Hi, What is client socket in Java... problem of some sort occurred. More information about client socket in Java
Java Socket Programming
Java Socket Programming  Q.server get terminated after sleep time... java.lang.*; public class Item_Server { public static void main(String[] args... ServerSocket(8189); Socket mys=s1.accept
Socket Wheel to handle many clients - java tutorials
Socket Wheel to handle many clients 2001-06-21 The Java Specialists...()); } } private class ServerThread extends Thread { private final Socket socket... associated with each Socket, so we make an inner class to contain those values
Java Socket
Java Socket  What is a socket?  Sockets are communication channels, which facilitate inter-process communication. A socket is one end... such as the Internet,it uses a software component called a socket. The socket opens
socket programing
socket programing  how can u pass data from 1-another system by socket class
Client Socket Information
socket information. This is a very simple program of java network. Here, we have... of the Socket class passing two arguments as hostName and TIME_PORT... Client Socket Information   
Java and socket - Java Server Faces Questions
Java and socket  Pls pals help me out coz i try to create a chating... java.util.logging.Logger; public class StartServer extends javax.swing.JFrame implements... input; private Socket socket; private ServerSocket server
Java Socket Programming
Java Socket Programming  Hi, What is Java Socket Programming? Can anyone give the examples of Java Socket Programming? Thanks   Hi, Please see the tutorial:Overview of Networking through JAVA Thanks
Java socket programming
Java socket programming  Hey i want to transfer a file from Server to Client or vice-versa using JAVA socket programming. Can you please guide me
Socket and ports
Socket and ports       In common language we can say that the socket is one of the most... hardware and operating systems. However in case of java never get confused
JAVA Socket Programming
JAVA Socket Programming  i m working on a java project which has multiple client and one server instance how can i make server respond to multiple client simultaneously
Setting source port on a Java Socket?
Setting source port on a Java Socket?  Is it possible to explicitly set the the source port on a Java Socket
socket programming in java - WebSevices
socket programming in java  hello i hv made a socket program using which a server and a client can communicate.can both the server side and client side program run on the same machine or 2 different computers (connected by LAN
socket programming question
socket programming question   can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java
socket programming question
socket programming question   can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java
socket programming question
socket programming question   can you respond to me the multiple clients chat application java code and a server that manages the clients using the socket programming in java
socket - Java Beginners
client program. i have created only one server socket for all the sockets.. is there any exception will occur if i use only one socket for both sign out and sign
SOCKET PROGRAMING IN THE JAVA FOR NETWORKING CONCEPT
SOCKET PROGRAMING IN THE JAVA FOR NETWORKING CONCEPT  I WANT TO KNOW ABOUT THE JAVA SOCKET PROGRAMING FROM BASIC LEVEL AND HOW CAN I WORK ON IT I KNOW THE JAVA PROGRAMING.SO PLEASE HELP ME HOW CAN I DO SOCKET PROGRAMING
Failed Client-Socket Communication
Failed Client-Socket Communication  I hve written a server program... java.io.*; import java.net.*; import java.util.*; public class AS3{ public...{ ServerSocket s = new ServerSocket(9001); for (;;){ Socket
Socket Programming in Servlet - JSP-Servlet
Socket Programming in Servlet  Hi Every One, My... and inside that servlet i wrote the socket programming, now my servlet is a server(i... javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class
Socket and ports
Socket and ports       In common language we can say that the socket is one of the most... hardware and operating systems. However in case of java never get confused
Java socket Programming - Java Server Faces Questions
Java socket Programming  I want to create a web server. How do I retrieve URL sent by client and how do server responds to the specific URL requested by the client
what is rmi n socket - Java Interview Questions
. http://www.roseindia.net/java/network/client-socket-information.shtml...: 1.what is rmi? 2.what is socket? 3.which one is superb? 4.what are the difference... friend, RMI allows a Java program to invoke a method that is being executed
GetKeepAlive
on the method for creating the Socket() method. Firstly create a class named of  "getKeepAlive" and initialize a class Socket. The main purpose...:  C:\rose>java getKeepAlive socket =Socket[addr
socket programming
socket programming  how to create server socket in web service...it will read parameter from file
Class
Class, Object and Methods       Class : Whatever we can see in this world all the things... is termed as a class. All the objects are direct interacted with its class
Socket Programming
Socket Programming  How to connect a computer through IP only and check whether it is up and running? I can't see any method in Socket programming where I can pass only IP address as argument. I need the pass port number also
socket programing in servlet
socket programing in servlet  give me a example to write socket programing in servlet
Java class
Java class  What is the purpose of the Runtime class
java class
java class  write a java program to display a msg "window closing" when the user attempts to close the window.(a) create a window class (b) create frame within the window class (c) extends window adapter class to display the msg
java class
java class  please send me the answer of the question which i have send according of java class assoon as possible . Write a java program to display.... a. Create a window class. b. Create frame within the window class. c. Extend
Socket connection - MobileApplications
Socket connection  Hi everyone!! I am a student in Viet Nam... file.xml in server (PC), I want to send to client by socket conection, everyone please help me!! If not use socket, can I use other conection??  Hi Friend
regarding socket - Development process
regarding socket  sir I have a project of socket. which takes input from user(client) and checks in database(server) and sends the responses to client but I am facing problem this connection maintains for only single thread
Jdbc and Socket Program - JDBC
Jdbc and Socket Program  Sir, I would like to get a program i which first a Frame is created and then Username and pssword textfields are added to it.Then as we enetr the user name and password it should be updated
Socket Programming in Servlets - JSP-Servlet
Socket Programming in Servlets  How to write a TCP/IP socket program inside a servlet...Is it possible....Please give your suggestions......Thanks in advance
Class
C:\roseindia>java Classtest It's a example of class... Class       This section explores the concept of a class in reference to object oriented programming
java class - Java Beginners
java class  How to run a java class(Mail.java) automatically in tomcat server for a particular time
Explain final class, abstract class and super class.
Explain final class, abstract class and super class.  Explain final class, abstract class and super class.   Explain final class, abstract class and super class. A final class cannot be extended. A final class
class file
class file  how to convert java classfile into java sourcefile
Java Class Size
Java Class Size  How to determine size of java class
converting java class to java fx class
converting java class to java fx class   i am working on a java project which would convert text to speech and speech to text. i have developed a java file that would work for text to speech. it is working fine as a .java file
super class
super class  which is the super base class in java
Java inner class
Java inner class  What are inner class and anonymous class
class method in java
class method in java  How to write a class method in Java?   You must read Java - Class, Object and Methods in Java
Java dictionary class
Java dictionary class  What is the Dictionary class
Java adapter class
Java adapter class  What is adapter class
java class - Java Beginners
java class  Define a class product with the following data members 1.Product number int(Auto generated) 2.Product name char [20] 3.Price float... program to execute the above class ad functions for 5 products

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.