I have been thinking about building a client to client program. But the way I want is to use the broswer to do it, helped by a server that can make that connection.
The troubles comes when I need to have an unnconected socket (or pasive) in a client, waiting for a connection.
I have been thinking about Html5 WebSockets, but it doesn't...
I'm reading 8 bytes from a socket in PHP, and want to transform them into a 64 bit signed integer.
How can I do this in 64 bit PHP? unpack doesn't support 64 bit numbers
In 32 bit PHP, is there a way to make it into a string that can be used by BCMath?
...
I've seen lots of examples of sending serialized data over sockets in Java, but all I want is to send some simple integers and a string. And, the problem is I'm trying to communicate these to a binary written in C.
So, bottom line: how can I just send some bytes over a socket in Java?
...
I have a Motorola/Symbol terminal running Windows CE 6 connected through a LAN cradle to my network with a static IP address.
The terminal runs a compact framework 2.0 app. When the terminal is put into the cradle, a form is opened which creates a socket and starts listening for incoming data. The inner workings of this socket are model...
In a VB6 Application, I am looking for a way to determine the Local Port for the duplex socket.
I have the remote Ip and Port, but I need to know an print out the local port as well.
...
I'm writing a WCF (net.tcp) file transfer service which will eventually split files into several pieces and transfer said pieces to the client from the server/service. Currently the client and server are console apps.
While writing this service, I have at various times gotten the following exception;
System.ServiceModel.Communication...
I'm writing a PHP site which connects to a Java server to get data. It does this via a socket. To improve performance I'd like to use pfsockopen() to connect to the server, so a new connection (with costly handshake) doesn't have to be opened for every request.
What I can't find in the documentation though, is this thread safe? If PHP i...
MSDN states that Socket.Shutdown can throw a SocketException. I've had this happen to me in production recently after introducing a load balancer between my clients and my server. But I cannot reproduce it in testing without a load balancer. Can you?
Some background - I have a server application written in C# that uses TCP sockets to co...
Here's the code in question:
class Server(SocketServer.ForkingMixIn, SocketServer.TCPServer):
__slots__ = ("loaded")
class Handler(SocketServer.StreamRequestHandler):
def handle(self):
print self.server.loaded # Prints "False" at every call, why?
self.server.loaded = True
print self.server.loaded #...
All
I am in the process of prototyping a small sockets application, which monitors IT infrastructure (due to in-house financial and deployment restrictions, I am unable to utilise an existing commercial or open-source solution). Basically, I have a server application and associated agent process for communicating heart-beat data to the...
Group,
Is there group support for TCP/IP MIB-II (RFC-1213) in C#. I'm trying to write a client interface that will communicate over SNMP and access data dictionaries plus files.
--Looking on the internet. It seems to me that I'll need a SNMP agent.
Any suggestions or help.
Chad
...
0 down vote favorite
I have to design GUI for authentication. Which will have 1. User name 2. Password using The stream socket, The packet socket or The raw packet.is it possible in php and mysql language. any references or tutorials?
...
Background: I have an URL with a valid host and port, and invalid path. Opening up a java.net.Socket on XP with a timeout of 0 (no timeout) fails immediately. The same code hangs indefinitely on W2k3.
Question: Where can I find documentation explaining the difference in winsock implementation and/or registry settings between XP and ...
Why the following code fails when the returned message from the server is large (over 4000 bytes)?
I get this error:
{"Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has fai...
I've contacted Adobe sales and tech support, and realized that I need to talk to someone who actually develops with these tools.
I want to develop some simple graphical widgets with the ability to reload themselves via an xml-socket a couple of times a second. Which Adobe tool should I buy-- Flash Builder, or Flash Pro?
...
This is the problem description
We have thousands of devices(approx 4k -5k) through which we have to read data continuously, every 2 min or 30 seconds. Each device has its unique IP.
This data would be collected and then stored in database. These devices are at 100's of location around the country.
The data would not be read 24X7 but for...
Hello everybody.
I would like to know how to download and save a file to my hard drive, specifically a zip file from a HTTP server using the System.Net.Socket.Sockets class.
I know there are allot easier ways to download a file with .Net, but i would like to know how to do it with Sockets, if possible of course although I'm pretty sure...
We have a Webstart client that communicates to the server by sending serialized objects over HTTPS using java.net.HttpsURLConnection.
Everything works perfectly fine on my local machine and on test servers located in our office, but I'm experiencing a very, very strange issue which is only occurring on our production and staging servers...
How can I create a client UDP socket in C++ so that it can listen on a port which is being listened to by another application? In other words, how can I apply port multiplexing in C++?
...
If a client sends multiple messages to a server over the same socket, will the EndReceive on the server side keep the messages seperated, or is it possible for the the server to receive partial messages from two seperate sends in a single BeginReceive?
...