togov
|
  |
| Joined: 21 Apr 2010 |
| Total Posts: 3740 |
|
|
| 07 Oct 2015 08:06 PM |
How would I establish a TCP connection that isn't LOCAL and what language should I use?
(I'll parse just give me an idea.) Not For Lua kids btw. |
|
|
| Report Abuse |
|
|
togov
|
  |
| Joined: 21 Apr 2010 |
| Total Posts: 3740 |
|
| |
|
|
| 07 Oct 2015 08:10 PM |
| Explain, I'm confused what you're specifically asking for |
|
|
| Report Abuse |
|
|
togov
|
  |
| Joined: 21 Apr 2010 |
| Total Posts: 3740 |
|
|
| 07 Oct 2015 08:13 PM |
Novus. I'm pretty sure I was clear. But i'll explain again. I'm trying to establish an IP connection which isn't on a local server. I would prefer any language but i'll parse it to my java client. So basically don't do it for me. Give me effective languages that can establish IP connections that aren't local. |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2015 08:15 PM |
| Good languages are the C languages (C#, C++, C) and Java. |
|
|
| Report Abuse |
|
|
togov
|
  |
| Joined: 21 Apr 2010 |
| Total Posts: 3740 |
|
|
| 07 Oct 2015 08:18 PM |
I already tried Java. It only works at the "localhost" level. But I haven't tried Java EE edition. |
|
|
| Report Abuse |
|
|
kools
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 1659 |
|
|
| 07 Oct 2015 08:28 PM |
| Java is NOT restricted to the localhost level. |
|
|
| Report Abuse |
|
|
togov
|
  |
| Joined: 21 Apr 2010 |
| Total Posts: 3740 |
|
|
| 07 Oct 2015 08:30 PM |
kools you do not know what you are saying. On Java SE, creating a socket can't go farther than localhost. Any attempts to cut corners like set the IP of another device to connect to will cause errors. |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2015 08:39 PM |
If Java can't connect to another IP
Explain how I managed to do it with Netty and how Minecraft manages to do it (Uses Netty) |
|
|
| Report Abuse |
|
|
| |
|
jody7777
|
  |
| Joined: 22 Feb 2009 |
| Total Posts: 1343 |
|
|
| 07 Oct 2015 09:16 PM |
Use sockets. The reason you can't host a server is because your router is port-fowarded or you broke ur pc somehow noob
FOR THE CAUSE |
|
|
| Report Abuse |
|
|