I have this socket server script,
import SocketServer
import shelve
import zlib
class MyTCPHandler(SocketServer.BaseRequestHandler):
def handle(self):
self.words = shelve.open('/home/tipu/Dropbox/dev/workspace/search/words.db', 'r');
self.tweets = shelve.open('/home/tipu/Dropbox/dev/workspace/search...
If I understand right, applications sometimes use HTTP to send messages, since using other ports is liable to cause firewall problems. But how does that work without conflicting with other applications such as web-browsers? In fact how do multiple browsers running at once not conflict? Do they all monitor the port and get notified... can...
I read the following page:
Robert Benson's article on ECF developers.sun.com/solaris/articles/event_completion.html
I also read the Solaris man pages but they are not very clear of how to use event notifications for directories.
For example, If I add a new file into a directory, I would like to get some notification of that event.
I f...
I am trying to run a small app that scans ports and checks to see if they are open using and practicing with threadpools. The console window will ask a number and scans ports from 1 to X and will display each port whether they are open or closed. My problem is that as it goes through each port, it sometimes stops prematurely. It doesn...
My company had a machine running SQL Server hosted by a company specializing in such. We have an .NET application that connects to it.
Recently the decision was made to bring the machine in house.
If we use the internal IP of the machine to connect, it works. When we go to an outside network and use the machine's external IP, it fail...
I've downloaded and installed the Microsoft Virtual PC and Windows XP mode image for testing IE6. I have several projects on localhost that I access by port numbers in my vhosts file, for example:
Listen *:82
<VirtualHost *:82>
DocumentRoot "path/to/htdocs/project-folder/public/"
</VirtualHost>
In the virtual machine I have change...
It seems that there is an upper limit of ~200 for the backlog queue on Windows ports.
Is it true? And if so, can i change the limit?
I'm doing ServerSocket.accept(backlog) on a Windows XP Professional.
Should i move to Windows Server?
...
Using netstat i found this in my list
TCP 127.0.0.1:9832 My-PC:9832 ESTABLISHED
My question is how is my local port outgoing AND CONNECTED to the same TCP port?
This is breaking my code because i am listening to port 9832. I am getting a permission error. I need to lose firefox and reopen all my tabs before this...
Hi
I understand the basics of how ports work. However, what I don't get is how multiple clients can simultaneously connect to say port 80. I know each client has a unique (for their machine) port. Does the server reply back from an available port to the client, and simply state the reply came from 80? How does this work?
...
static SerialPort port = new SerialPort("COM3", 57600, Parity.None, 8, StopBits.One);
thread1()
{
lock(port)
for(;;)
port.write"Hi 1";
}
thread2()
{
lock(port)
for(;;)
port.write"Hi 2"
}
output:(in Hyper-Terminal)
Hi 1
Hi 1
Hi 1
here as thread1 is locked and is in a infinite loop, so its not coming out of th...
I have installed MS Loop-back adapter and have given it a static IP: 10.10.10.9
my laptop is configured as 10.10.10.30 , and my gateway is 10.10.10.1
i can ping the loop-back NIC from my laptop, but not from any other machine on the LAN. i am trying to beat the 65k port limitation by seeing if i can have virtual IP addresses on one mac...
My services file (C:\WINDOWS\system32\drivers\etc\services) has a bunch of Port to Service mappings:
echo 7/tcp
echo 7/udp
discard 9/tcp sink null
discard 9/udp sink null
systat 11/tcp users #Active users
systat 11/udp users ...
How to open a port in android, in J2ME is Connector.open
thanks in advance
...
I´ve searched and didnt find which ports does XMPP uses.
I need to implement XMPP server and client and use XML transfer, file transfer and streaming.
Do they use different ports?? Is there a way I can make them use all the same, so I dont need to bother the network admin?
Thanks
...
I have a situation where I need to collect logs for the process that happens. So If process1 happens, log1 should start, same with process2 and log2. Both run at the same time. So ideally, i should get log1 and log2 updaating along with the progress at the same time.
My problem is, If i run process1, log1 starts, but when i start, proce...
I am making a windows upper filter driver for serial and parallel ports.
I want to test it in a virtual machine and I need some sort of software that can simulate communication over these ports with the VM. Any hints?
...
Hey,
I need to send and get packeges via UDP and TCP in iPhones and the server. But, I figured that if I wanna send pacgages to a client (iPhone), he is... A kinda server.
So, let's say I'm sending and getting packeges to iPhone via the port 2347. Do I need to open the port on the iPhone or something like that? Is there any Firewall buil...
I am running CentOS 5 with csf firewall. I'm running a program that can't connect to another server (using some port that is blocked by csf I presume). Where is the log file for 'ports'?
...
I will upgrading to Linux Debian 6.0 "Squeeze" on the server soon and I want to know how I can use Python as a web-server on many ports dedicated for different things..
Ports Directory Description
80, 443 /var/www/sitegen/ Take all domains and generate a site from the SQL DB
444, 1000-3000 /var/www/mana...
I'm trying to write a value to IO port 0x0466 in Windows.
Normally, it is 0x0000. To change it, I can physically short-circuit two headers on the board, and the value changes to 0x0001. And it will stay 0x0001 even when I open the circuit, until I restart/etc.
Now, the problem is, using software/IO port dll, I can write 0x0000 to port 0...