I have the application (finally) going and will print the code for whoever wants to try it out.
But there is one more problem.
The inner class that deals with the socket connections (one server and...
Type: Posts; User: willemjar
I have the application (finally) going and will print the code for whoever wants to try it out.
But there is one more problem.
The inner class that deals with the socket connections (one server and...
Thanks, jps, but the question stays, the application is working correctly but not making
a internet connection over an ip, so what am i missing?
"you are still opening a server socket on both machines."
No not true, it depends on the number of arg, when only port number, it opens
the server, but when port number and ip, it will open only...
The small program works perfect on one machine through local host address.
But when running on two different machines (and using the wifi of my neighbours)
there is a problem! So here is what I do:...
This thread is not going anywhere.....
The program I wrote has some interesting problems but nobody is
really going over the code seriously!! I understand because it is too long
and not (still)...
I have gone over everything, and thanks for you answering me consequently!
I copied the while loop too!
But here is what happens:
1) the server socket waits and gets a incoming request than ->...
JPS, I can't get the application going, really annoying!
I do not know where the problem lays (IP Socket, null or closed etc.)
So lets go through it step by step, ok?
First there is the "call...
I did read all that stuff and many more, jps.
But I found another problem that may cause the socket to be null.
I thought that the next method gives my the IP of my net work connection.
It turns...
Thanks JPS, the next code would precede the connection, right?
But when I run the counter connecting part I get a null pointer
for the socket (not server socket), see code fragment pls
(could that...
So I am testing it now on two comp and different IPs
Both computers are waiting for incoming calls:
server = new ServerSocket(port);
textIn.append(" listening on incoming calls \n ");
socket...
jps, the error appears when opening for the second time the chat and both are open and listening through a socket on port 1501 over the local address. No program is closed yet and both are waiting...
The code of the private chat application is still in process and is still not fully working !
(though I am close to get it working I believe). The Chat connects one computer with
another and does...