I have an asynchronous socket server that contains a thread-safe collection of all connected clients.If there\'s no activity coming from a client for a set amount of time (i.e. timeout), the server ap
For a school project, we\'re supposed to create a multiplayer game in Java (it should be client/server) which can be played over the internet (we\'re programming this at school, so it\'s not homework)
I found the following function, which can send a mail : bool sendmail( char * smtpserver, char * from, char * to, char * subject, char * msg )
How can I send objects of a class via sockets? As of now I\'m only ab开发者_开发百科le to send the class members one by one via sockets and I want to send the object as a whole. Explaining with a simp
I\'m using System.Nets.Sockets.Socket to play the client side to connect our server. Everything works fine under Windows XP. But recently, our client report that the UI cannot alarm when it disconnect
My web-app needs to talk to a device in my local network via a soket. I am trying to open a ServerSocket on port > 45000 and listen to it for incoming connections. The class that implements this worke
I am writing a server-client program and in the server I use getaddrinfo and getsockname on the server to get info about the local IP addr and locally bound port number .
i have a java client-server app in java, both using the same connection class that contains both send/receive messages.
Assuming live chat clients (Skype, Windows Live Messenger) use sockets to stay connected to their relative services, what are some strategies that the developers implement to scale out their servers?
I want to send(socketfd, ...) and I\'m using the select() function. Should this file descriptor be in the writefds, or in the readfds开发者_高级运维?readfds are for sockets you want to read from, writ