The socket tag has no usage guidance.
0
votes
0answers
6 views
Socket.io emit textfield
Hello everyone I learned how to emit from socket.io website guides but I was wondering how does the chat example receive its input? For example in my cocos2dx app how do I pass a text field over to ...
0
votes
1answer
96 views
SocketException: No connection could be made because the target machine actively refused it
I am working on connecting a client to a server using socket connection. I have a button, when I click on the button, it's giving the below exception in Unity.
"SocketException: No connection could ...
0
votes
0answers
41 views
Client-Server socket connecting problem with unity
I am working on connecting client to server.On the client part I have a button to connect to the server.When I click on the connect button ,its gets connected to the server(In the server app its shows ...
1
vote
0answers
33 views
Delay in connecting to server in Unity
I have a button, when I press the connect button, it gets connected to the server. When I press the connect button again, it's getting delay in connecting to the server. Below is the code to connect ...
0
votes
1answer
94 views
Try to connect to Game Maker server
I'm trying to make a simple multiplayer experience with Game Maker, using a local network, and the basic idea is to use Game Maker's built-in networking functions.
Using a simple client-server ...
0
votes
0answers
81 views
Node.js have multiple game rooms
How do I make multiple game rooms with different gamerules in my server (for example, having 3 ffa servers with a limit of 500 players and 2 tdm servers with a limit of 100 players). Here is my ...
0
votes
1answer
234 views
TCP Socket communication with unity
I am working on communicating unity application with an PC app. Since I doesn't know how socket programming can be implemented in unity.Can anybody please help me in creating a simple small ...
0
votes
1answer
288 views
Best client/server architecture for a mobile management game?
For the past year I have worked on a small company that develops a traditional browser based strategy game, of the likes of Travian or Ogame, but using a more interactive approach like Tribal Wars 2.
...
0
votes
2answers
124 views
Unity WebGL build throws errors
I am working on a multiplayer game for WebGL platform and I am using SocketIo & node.js server for handling the game.
I am facing issues, as shown in the attached image. I have no idea about what ...
0
votes
1answer
181 views
what is the best way to code an online multiplayer game?
so i want to create a simple game that runs over a network but I am having trouble deciding what needs to be done in terms of what the server needs to do and what the clients need to do. I understand ...
3
votes
1answer
85 views
Slick2D Networking Crash
This is my first post, so I apologize if it's been put in the wrong place or something. Anyways, here's my problem:
I've run into an issue with running my client-side code in one of my game-states. ...
1
vote
2answers
156 views
Do I need TCP socket?
My game uses UDP sockets to stream updates between server and client and I've also made a reliable channel that resends messages if there's no response and makes sure same message isn't processed ...
3
votes
1answer
816 views
How should I send packets to multiple clients on UDP? [closed]
I'm developing a 2D action side-scroller shoot-em-up game and I recently implemented the multiplayer aspect.
When the server sends packets containing the game state (which are about 500-700 bytes) ...
-1
votes
1answer
283 views
What is the best way to send/receive data about user coordinates and other properties?
For example If I have 2 users, and each of them have an object, and that object has: x coordinates, y coordinates, angle, state, and other properties...
I use java
let'say the game changes at 30 ...
9
votes
2answers
2k views
How to keep server-client clocks in-sync for precision networked games like Quake 3?
I'm working on a 2D top-down-shooter and doing my best to copy concepts used in networked games like Quake 3.
I have an authorative server.
The server sends snapshots to clients.
Snapshots contain a ...
6
votes
3answers
2k views
How do I access a Unity class from an Android Activity?
I have made my own C# classes in Unity. How can I access them from the Android Activity that starts the UnityPlayer?
Example: I have a C# class called testClass in Unity:
class testClass {
...
1
vote
3answers
398 views
Send info about gun shots via UDP
I am writing a small multiplayer game in C++. But I am confused about how to send info about gun shots to achieve best performance. I am thinking of different ways to do that:
Let's say we have a gun ...
1
vote
0answers
308 views
Delay command execution over sockets
I've been trying to fix the game loop in a real time (tick delay) MUD. I realized using Thread.Sleep would seem clunky when the user spammed commands through their choice of client (Zmud, etc) e.g. ...
1
vote
2answers
384 views
Should I use threads to check sockets for multiplayer game?
In a multiplayer game does the code to get/send info from/to sockets reside in the game loop or does it belong in its own thread?
0
votes
3answers
785 views
Why is my client laggy despite 60 update packets a second? [closed]
I am developing a small multiplayer game with XNA. It's a usual client-server architecture -- I have a server and many clients communicating with it through UDP (via .NET's Socket class). These ...
5
votes
2answers
5k views
UDP vs TCP in multiplayer mobile game
I'm working on a networked multiplayer game, initially for iOS.
Even with TCP_NODELAY there are large fluctuations in latency. I can't be sure of the reason, but I would not be surprised if it was ...
5
votes
2answers
2k views
Mobile Multiplayer games and coping with high latency
I'm currently researching regarding a design for an online (realtime) mobile multiplayer game.
As such, i'm taking into consideration that latencies (lag) is going to be high (perhaps higher than PC/...
2
votes
2answers
523 views
Adobe Air turn based multiplayer Game, sockets vs http bandwidth
I am developing an Adobe Air multiplayer game for iPad.
It is turn based and not realtime. It is like checkers game.
I want to use a client server model.
I have found 2 options to connect to server so ...
3
votes
1answer
950 views
Unity editor stalling on second attempt to play
I am attempting to use a Tobii TX300 eye-tracker as an input device for Unity. This device is connected via LAN (TCP connection managed by Tobii SDK). The Tobii SDK has appropriate methods (I am ...
3
votes
1answer
3k views
Google Cloud Messaging (GCM) for turn-based mobile multiplayer server?
I'm designing a multiplayer turn-based game for Android (over 3g). I'm thinking the clients will send data to a central server over a socket or http, and receive data via GCM push messaging.
I'd like ...
1
vote
1answer
314 views
network programming: simultaneous IO over sockets?
In my curses based game, I decided to add multiplayer functionality over net, in addition to one-keyboard mulitiplayer game. I use switch loop and in case it's 1st user's buttons,
user 1 is acting ...
0
votes
1answer
449 views
Multiplayer Game Data Serialization Problems
I want to create a simple game that can be played with one to two player. I plan on using TCP sockets, Farseer Physics, XNA, a BinaryFormater and a Memorystream.
as far as i know i can't do the ...
0
votes
1answer
2k views
C# multi-player socket server (need clarification/suggestions)
I've been working on an 2D-RPG for a while and I recently decided to make it into an MMO (not really massive, but multi-player). Anyways, I'm attempting to write a game server in C#. Yes, I know I ...
1
vote
5answers
4k views
Is it possible to use 3G internet for a TCP/IP game server?
I'm working on a turned based multiplayer android game with a friend.
I started working on the game server and client using socket programming.
I found a few tutorials on how to implement a basic chat ...
2
votes
1answer
2k views
Simple WP7 pong game with real time multiplayer using sockets
I'm making a pong clone for Windows Phone 7 and I'd love to add a multiplayer option. I've been trying to use this Ricky Tan's tutorial:
http://blogs.msdn.com/b/rickyt/archive/2011/06/15/windows-...
3
votes
5answers
5k views
UDK client, C++ server (is it possible?)
For example I have C++/C# server side with sockets or http web server and UDK client.
I am interesting what about experience with networking in UDK: could I connect UDK client to C++/C# socket server ...
2
votes
2answers
269 views
Connecting an AI Agent to a Flash Game
Overview
The game is a multiplayer simple real time strategy housed in a Flash application. Players run the Flash client, and are connected to a server written in another language (the language is ...