Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (497)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Networking & Multiplayer / Re: How two applets can talk to each other on: 2003-07-10 06:14:08
Thx for the answer ...

When I try to connect to the server, which is launched from the same PC (localhost) and is listening for incoming connections I got the folloqing error ... do u have any clou?   Shocked

java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
       at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
       at java.security.AccessController.checkPermission(AccessController.java:399)
       at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
       at java.lang.SecurityManager.checkExit(SecurityManager.java:765)
       at java.lang.Runtime.exit(Runtime.java:91)
       at java.lang.System.exit(System.java:701)
       at MoveWatcher.run(MoveWatcher.java:87)
2  Game Development / Networking & Multiplayer / How two applets can talk to each other on: 2003-07-09 11:05:12
Sorry for bothering u guys but do not know how to solve the problem ...   :-/

That's the question: how can two applets talk to each other. The two applets are on different clients, I have a server and the clients have an open socket with the server with whom they talk. There is a different thread for every client.

BUT NOW ... how can the server send information arriving from one applet to the other ?  Huh

TIA for any reply.
3  Game Development / Networking & Multiplayer / Applets and networking on: 2003-07-01 06:37:02
Hi there,
I'm quite new to java and just started to experiment. Now I decided to write an game applet. This should be a two player game (as chess for example) each one sitting in front of a PC with a connection to the server.

I thought first that I should use sockets ... but then I read that using sockets with applets isnt' appropriate ... Now I'm a little bit confused how I should write the networking part of the game. Waiting for some advise. TIA  Huh
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

BurntPizza (8 views)
2014-09-21 00:34:41

moogie (7 views)
2014-09-21 00:26:15

UprightPath (22 views)
2014-09-20 20:14:06

BurntPizza (27 views)
2014-09-19 03:14:18

Dwinin (40 views)
2014-09-12 09:08:26

Norakomi (70 views)
2014-09-10 13:57:51

TehJavaDev (96 views)
2014-09-10 06:39:09

Tekkerue (49 views)
2014-09-09 02:24:56

mitcheeb (70 views)
2014-09-08 06:06:29

BurntPizza (52 views)
2014-09-07 01:13:42
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!