Yea, I understand. RL happens for me too and sometimes duty calls.
Perhaps you are being blocked by a firewall or your internet provider. I do not see a problem.
Type: Posts; User: jps
Yea, I understand. RL happens for me too and sometimes duty calls.
Perhaps you are being blocked by a firewall or your internet provider. I do not see a problem.
Yes you are right. I never looked past opening the server socket.. I made an assumption and jumped to a conclusion I should not have. I will have a look when I return
The long part is somewhat of an issue, but not the reason no one provided a solution
Q & A.
This is somewhat of an issue. Who has the time? You try it out. You try it on two different...
No, I never suggested you set anything false. In fact the "server loop" can (and should) continue to run any time you wish to be accepting connections.
When you are done accepting connections, yes...
This and this provide some helpful information.
As a side note, a search engine with "Whats my ip" should give you the public ip of the machine
I do not understand what this means.
Again I suggest following a tutorial. Get a client to connect to an echo server. Once that is working move on to the next step
That would depend on what you do where it says "handle the connection here", but it is a start. Probably something like pass the newly connected client to a thread (possibly from a pool) to actually...
bingo
not when you get it done correctly
I suggest a tutorial on server client communications, especially the use of server sockets.
Roughly the problem is the repeated attempt to open two server...
It is most likely the port is being held open by a previous run of the application in question.
Make sure to close the sockets and terminate any threads when the application is closed.
There...