port

Attempt to connect to port leads to "Timeout Error"

Until recently, I have been able to forward ports just fine. I have no firewall and have not changed my ISP or router. When I scan my ports the result i always get is "Timeout". ...

How do I reuse a previously-opened port, using SBCL's sockets?

Creating a server-side socket will fail if I'm trying to use the same port I've used before. An address-in-use error occurs. (make-instance 'sb-bsd-sockets:inet-socket :type :stream :protocol :tcp) How do I stop this from happening? Hints and code snippets very welcome! (CL newbie here.) Thanks! ...

serial port parity

Are there any known problems with using a serial port set for 8 data bits, 1 stop bit and even parity, under Windows XP? ...

Difference between PORT and LATCH on PIC 18F

I already read the datasheet and google but I still don't understand something. In my case, I set PIN RC6 of a PIC18F26K20 in INPUT mode: TRISCbits.TRISC6 = 1; Then I read the value with PORT and LATCH and I have different value! v1 = LATCbits.LATC6; v2 = PORTCbits.RC6; v1 gives me 0 where v2 gives 1. Is it normal? In ...

How to port OCaml lib into lib Acsessable from C code?

I have a OCaml library with lots of classes I need some translator to make it from OCaml lib a C lib so to be able to use its methods. How to do such thing? How to port OCaml lib into lib Acsessable from C code? ...

jar to python module

I am using an API which provides a Java version but not a Python version. I can switch to Java as right now I am only prototyping. but is there a quick way to convert the functionality of API packaged in a jar to a python module? ...

How to find an available port?

I want to start a server which listen to a port. I can specify port explicitly and it works. But I would like to find a port in an automatic way. In this respect I have two questions. In which range of port numbers should I search for? (I used ports 12345, 12346, and 12347 and it was fine). How can I find out if a given port is not occ...

Is there a rule of thumb when porting iPhone graphics to Android?

I'd like to port my iPhone app to Android. The interface is constructed with artwork designed for 320x480 resolution. What steps do I need to take when I'm constructing the XML interface for the Android so that my GUI will be compatible with the different screen sizes (or at least the most popular ones...)? ...

VMWare Player 3.0.1 build-227600: Port Forwarding

Hello, I am running VMWare Player on Windows 7 (Host OS), and running Ubuntu Server (Guest OS). Now how can I open port aka port forward? Thank you ...

Python: Socket set source port number

Hi all, I'd like to send a specific UDP broadcast packet.. unfortunatly i need to send the udp packet from a very specific port for all packet I send. Let say I broadcast via UDP "BLABLAH", the server will only answer if my incoming packet source port was 1444, if not the packet is discarded. My broadcast socket setup look like this ...

Create a virtual serial port for widcomm stack under 32feet

Hi, all Currently I am doing a project involves a bluetooth communication setup between a PDA and a small embedded device. This small embedded device can only be communicated with a virtual serial port over a bluetooth link. The PDA is the ipaq running with windows mobile 6, and I am using c#. I had done a program which can communicat...

JDBC connections: How to specify the port for data-transfer?

I wanto to run my JDBC-connection (either Oracle or MSSQL) through a proxy-server. Reason for this is to have additional controls of the traffic, especially for developing. I know, I could specify the proxy, which runs on my machine, and the port in the connection-string. But the specified connection-settings are only taken as some kind...

Moving delegate-related function to a different thread

Hello everybody. We are developing a library in C# that communicates with the serial port. We have a function that is given to a delegate. The problem is that we want it to be run in a different thread. We tried creating a new thread (called DatafromBot) but keep using it as follows (first line): comPort.DataReceived += new Ser...

Receving multiple multicast feeds on the same port - C, Linux

I have an application that is receiving data from multiple multicast sources on the same port. I am able to receive the data. However, I am trying to account for statistics of each group (i.e. msgs received, bytes received) and all the data is getting mixed up. Does anyone know how to solved this problem? If I try to look at the sender's...

Oracle listening on changing port for remote connections

I installed Oracle 11gR2 and I am now trying to access the database from a remote system. My listener.ora is still the default: LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) ) ) ADR_BASE_LISTENER = /medi...

Constantly checking a port without a while loop.

In a program (Java) I'm making I need to check for a specific pin in the parallel port. Whenever that pin goes from logical 0 to 1 (a positive edge clock) I have to read the data on the port and save it. This happens about every 10ms but can vary a little. To do this I made a separate thread with a while loop that is constantly checkin...

User input in Perl with IO::Socket

I am trying to make a perl program which allows a user to input the host and the port number of a foreign host to connect to using IO::Socket. It allows me to run the program and input a host and a port but it never connects and says "Could not connect to [host] at c:\users\USER\Documents\code\perl\sql.pl line 18, line 2." What am i doi...

Firefox Extension Port Listener

Hey, I'm trying to get an extension to wait for a xml message from another program over an internal port. Just something like waiting for a single UTF-8 string that has something like: <?xml version="1.0"?> <status received="true" state="started"></status> and <?xml version="1.0"?> <status received="true" conn="closed"></status> I...

Java: Check what processes are bound to a port?

Hi, I am developing an application in Netbeans, and it is using JavaDB. I can connect to it and execute queries without issues, but for some reason, the "Output - JavaDB Database Process" pane within Netbeans keeps displaying Security manager installed using the Basic server security policy. Could not listen on port 1527 on host localh...

Understand ACTV mode and the PORT command

Hello, I'm the part time FTP server administrator (with no real full-time admin). We currently only allow ACTV mode connections. Some of our clients have had issues with this but for the most part they've been ok using ACTV. For the few who aren't, we've been able to push the data over to their servers from ours. there is one clie...