Questions tagged [socket]

The tag has no usage guidance.

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
95 views

Implementing a game in Unity without Unity Networking

I have been programming in Unity for a while, and ever since I started I could not wrap my head around the Unity Networking system. I understand on a whole how it works, I even made a small project ...
1
vote
0answers
109 views

Cocos2d-x : Socket.io-client-cpp crashes after creating scene

I'm using https://github.com/socketio/socket.io-client-cpp with cocos, because the built-in socket.io doesn't support callback (http://discuss.cocos2d-x.org/t/doesnt-work-with-socketio-2-0-1-and-...
1
vote
0answers
58 views

Unity won't Instantiate() outside of Start(), even though code is the same

I am trying to add a gameobject to my game using a socket connection. I have a SocketHandler class, which simply connects to my NodeJS socket server, which can also call a method on another class, ...
1
vote
3answers
439 views

Synchronizing object states over .NET sockets

What I want to achieve is synchronize the state of a list of objects between two applications using sockets. All my attempts, but failed. One of my methods was to send each object each update to the ...
1
vote
0answers
26 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 ...
1
vote
0answers
76 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 ...
1
vote
0answers
348 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 ...
0
votes
0answers
22 views

Networking and Timing issue

I have been trying to use the low-level API for UNET and the focus of this problem is this: ...
0
votes
0answers
38 views

Peer to peer networking architecture: one or two sockets

I am programming a 2 players snake game and I want it to be playable through the internet. I don't think a client-server model would be good here because the only information needed between the 2 ...