It seems that when people want to pass data from the client to the server, almost everybody just uses web services. Is the best way to do this when you don't need the performance of straight TCP?
...
Why do multiple connections from the same host achieve better throughput than multiple connections from different hosts?
I suspect is something kernel-related (Linux) but a confirmation would help a lot.
More details I have 1 receiver process, let's call it R. It accepts incoming connections and receives data using select().
I have 3 ...
When i send()/write() a message over a tcp stream, how can i find out if those bytes were successfully delivered?
The receiver acknowledges receiving the bytes via tcp, so the senders tcp stack should know.
But when I send() some bytes, send() immediately returns, even if the packet could not (yet) be delivered, i tested that on linux ...
I have the strangest issue ever. I'm trying to get results of CGI script running on the same server with get_file_contents and it works everywhere except my local machine under Ubuntu.
It works when I ask it to get url from different server (same script running on production), it works deployed on different server, I'm absolutely sure I...
When I call "route PRINT" from the command line in Windows XP I get (? characters are IP addresses I obfuscated intentionally for posting):
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.50.1 192.168.50.106 25
0.0.0.0 0.0...
Our application is using a few ports out of the standard ones (80 etc) and users are complaining that our app doesn't work but in fact it is their network that is restricting their access to those ports. Is there a way to detect this in the code so that we can warn them with some sort of error?
...
Hey I am writing an app in Twisted, and as it stands I have 4 servers bound two different ports all communicating with the client via JSON. Is there anyway to bind these 4 servers to the same port and have the interactions remain the same?
For instance say the client subscribes to two different feeds, transmitted via a direct socket.
R...
Hi,
I am developing some additional stuff to the game server but I dont understand the code I recieved (however it works). I would be really happy if somebody could explain to me, why (in the recievedata method) there is socket list clearing and then again filling. I just cant see the point.
this.mReceiveDataThread = new System.Threadin...
I have a SocketServer accepting incoming connections. For security reasons I should only allow local connections (connections from the machine on which server is running).
How can I determine if an incoming connection is from another machine? Is the following code safe for this?
Socket socket = someServerSocket.accept();
String remoteA...
Hi,
I was wondering how tcp/ip communication is implemented in unix. When you do a send over the socket, does the tcp/level work (assembling packets, crc, etc) get executed in the same execution context as the calling code?
Or, what seems more likely, a message is sent to some other daemon process responsible for tcp communication? Th...
I've been through all of the Stack Overflow answers search comes up with, and neither Google or Bing are showing me any love. I need to know when a network cable has been connected or disconnected on a Windows CE device, preferrably, from a Compact Framework application.
...
What type of optimizations does speed bit video accelerator use.
...
Suppose I have static ip in a subnet that has DHCP server. If i gonna send DHCPINFORM
message to the server, what will happen ?
amit
...
A well known company is promoting Cloud Computing research in my university, I would like to know where I can find good and trustworthy documentation about research in this subject.
...
Hello,
I'm wondering if anyone has/knows of any examples of networking code integrated with OpenGL.
Basically, I need to send position coordinates of something over a network to my OpenGL display... which would then draw the object at the correct position.
The problem I'm having is integrating my UDP code with the game. I basically ...
I want to learn how to write a software using a peer to peer networking architecture but i don't know where to start, knowing that I use as a programming languages : c/c++ , lisp, a little of python. any pointer to documentation or tutorials is appreciated.
...
I just want a connection to talk between the hosted and the host OS's.
...
Hi
I am currently using cURL to communicate to a cloud site... everything is going well except for an annoying issue. The issue is that I cannot get the site's xml response when there is an error. for example, when I use Wire Shark to check the transfer I can see that in the HTTP header that I'm getting which contains the error code; th...
I'm trying to compile beej's guide to network programming examples, but Windows XP doesn't have such a function. I'm using mingw, if it makes any difference.
...
Is there any way to detect the message IP conflict? I will be using this in a thread in my program.
...