Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  NIO and Telnet  (Read 1079 times)
0 Members and 1 Guest are viewing this topic.
Offline MickeyB

Senior Member




my game will work, my game will work!


« Posted 2004-11-23 16:56:36 »

I have read blah3 tuts, very nice, though what is "Funnily"?  Wink

Anyway, I pulled down the sample from Sun at http://access1.sun.com/codesamples/Selectors/selectors.html and when testing with telnet, telnet always says could not open connection to host.  So I pulled a few more samples down and same issue.

My old IO game servers work fine and I can telnet to them.  Any thoughts?

EDIT: Have not figured out why, but found some code that works with telnet.  SO now to review the set ans see if I can make a learning experience out of figuring out why the others did not work! Smiley

EDIT: Figured out the problem now to code!

MickeyB

Current Project: http://www22.brinkster.com/mbowles/
Offline Herkules

Senior Member




Friendly fire isn't friendly!


« Reply #1 - Posted 2004-11-30 06:52:20 »

What was it?

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline MickeyB

Senior Member




my game will work, my game will work!


« Reply #2 - Posted 2004-11-30 15:02:08 »

Well....

I found that the machine I am testing on returns mahinename/ip from the line:
1  
InetAddress lh = InetAddress.getLocalHost();


And I was trygint to telnet to 127.0.0.1 port#.  Once I switched to telnet machinename port# all was well!

Newb-itus. Smiley

MickeyB

Current Project: http://www22.brinkster.com/mbowles/
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

ctomni231 (32 views)
2014-07-18 06:55:21

Zero Volt (28 views)
2014-07-17 23:47:54

danieldean (24 views)
2014-07-17 23:41:23

MustardPeter (25 views)
2014-07-16 23:30:00

Cero (40 views)
2014-07-16 00:42:17

Riven (42 views)
2014-07-14 18:02:53

OpenGLShaders (29 views)
2014-07-14 16:23:47

Riven (29 views)
2014-07-14 11:51:35

quew8 (26 views)
2014-07-13 13:57:52

SHC (63 views)
2014-07-12 17:50:04
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!