Questions tagged [asyncsocket]

Asynchronous sockets allow for multiple simultaneous non-blocking socket connections.

Asynchronous sockets allow for multiple socket connections within a single thread. While more complicated than synchronous sockets, asyncsockets allow for more efficient use of cpu scheduling. These connections are non-blocking, which allows the main program thread to continue running, while a socket thread manages network traffic.

589 questions
-2
votes
1 answer

sending tcp data from c++ and receive to java socket

I am creating an application using visual c++ which will communicate with java server using tcp. how can I do this using socket programming.
-3
votes
1 answer

C# Connecting client (local windows form application) to controller connected to computer via ethernet

I need to create a user interface to control a tool that is connected directly to my computer via an Ethernet cable. The controller is listening at a specified socket for connection requests. When the connection is made the controller will…
-3
votes
2 answers

Update server design on C++

I am desining an update server. The general design is: Clients connect to Server Server initializes Clients Server sends all Clients results Clients do not send to Server anything, just recieve server's…
Alex
  • 2,361
  • 1
  • 20
  • 27
-6
votes
1 answer

C# Asynchronous Server Sockets - Thread-Safety/Performance (MMO Gaming)

I'm writing this game server for my small 2D MMO game. So here are my questions: What do you think about the Thread-Safety of the code? can you show me where the problems are and how to fix them / patch them? Here is my code: using System; using…
Tenev
  • 251
  • 6
  • 17
1 2 3
39
40