|
||||||
| Programming Theory Discuss programming theory, algorithm efficiency, logic, and other any other category where math and computer science overlap. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Is there any way to establish a TCP connection between two client sockets without one of them being a server?
Task: To establish a connection between two computers. Requirements:
I am 99% sure that this task is impossible, but there are some pretty smart people out there so I may be wrong... |
| Sponsored Links |
|
|
|
|||||
|
One way this has been done with some software is to have a third computer which is a server.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
Well, this issue is elementary (not so hard to do in the practice as it sounds like, or as some other issues theoretically could be), but it is definitely not conveniently.
I could give you a nice introduction on this issues without any problems, but I don't have every minute free time, so I recommend that all people that are interested in this issue try to search for it in a digital search engine. I suggest that you use appropriate parameters, so you will receive pure useful information.
__________________
Like an angel without a sense of mercy. |
|
|||
|
I would love to hear your answer. I have posted this question on many forums, and have searched the internet many times, and I have concluded that this task is impossible.
The connection requires sync numbers which are randomly generated with each connection, so there is no way to determine what the sync number will be (and there is no way to set the sync number in Java anyways). |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| An impossible algorithm? | crazyinstinct | General Programming | 1 | 03-03-2007 02:54 PM |