Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


manickam
socket
0 Answer(s)      4 years and 3 months ago
Posted in : Java Beginners


in a chat application i have used two sockets s1 and s2, in that s1 is used for sign in a user and s2 is sign out of that user in multiple 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 in? i have used two thread for both sign out and sign in process. andd... can i use multiple server sockets in a application? suppose if i will use multiple server sockets means what type of application i have to use multiple server sockets? can you send me the example application for this?

Advertisement
View Answers

Related Tutorials/Questions & Answers:
socket programing
socket programing  how can u pass data from 1-another system by socket class
socket programming
socket programming  how to create server socket in web service...it will read parameter from file
Advertisements
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 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
Socket and ports
Socket and ports       In common language we can say that the socket is one of the most... with a socket. Socket classes are used to establish a connection between client
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
What is Java Client Socket?
What is Java Client Socket?  Hi, What is client socket in Java..., The client socket is basic communication interface between networked computers. The socket that make connectivity with socket client and with a socket server
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
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
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
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
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 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
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
Failed Client-Socket Communication
Failed Client-Socket Communication  I hve written a server program...{ ServerSocket s = new ServerSocket(9001); for (;;){ Socket... Socket incoming; private int counter; public RealEchoHandler(Socket i, int c
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
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
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
Java Socket Programming
Java Socket Programming  Q.server get terminated after sleep time... ServerSocket(8189); Socket mys=s1.accept...[] args) { InputStream in; OutputStream out; Socket mys
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
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
Socket and ports
Socket and ports       In common language we can say that the socket is one of the most... with a socket. Socket classes are used to establish a connection between client
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... TestServer extends HttpServlet{ ServerSocket server; Socket client
OS service via bluetooth socket
OS service via bluetooth socket  through bluetooth socket i want to send instructions to the OS, where i dont want any server code for this on my PC or Laptop. My instructions should be handled by the OS inbuilt bluetooth
what is rmi n socket - Java Interview Questions
: 1.what is rmi? 2.what is socket? 3.which one is superb? 4.what are the difference... on different machines Socket information. Normally, a server runs on a specific computer and has a socket that is bound to a specific port number. The server
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
How could I use Socket in my application?
How could I use Socket in my application?  I created an application dealing with the management of a supermarket using Hibernate and Swing. I found out today that I have to use also Socket and I don't know exactly what I could do
socket connection: how to parse data from server?
socket connection: how to parse data from server?  hi, I am a j2me programmer,i want to retrieve some data from server using socket connection,I h'v established the connection through the port and getting the data from the server
Advertisements
 

 

 

DMCA.com