port

ASP Experts - Need help converting this PHP code to ASP

Hi, I am facing some problems converting the PHP SQL insertion code below to ASP, I want to use the same concept in ASP, because it is more flexible, not tied to ASP owned keywords. Wonder if anyone can help ASP newbie here. $table = 'tbluser'; $array = array ( 'name' => $name, 'email' => $email, 'ip' => $remoteIP ...

How do I convert my Git repository to Mercurial and bring along its tags

I am wanting to toy around with Mercurial a bit, so I am trying to convert one of my existing repositories over. I run the following command on my Mac: hg convert myrepos myrepos-hg The command successfully imports all of my commits, but it doesn't bring along the 8 or so tags that were marked in the Git repository (nor are any of th...

Steps to make a LED on or off from a C program using Serial Port?

Hi gusys, I knew there is a similar post: http://stackoverflow.com/questions/209603/steps-to-make-a-led-blink-from-a-c-c-program But now I am working on a arm-based development board, and it seems to have two serial ports that I could use it to make a LED on or off. Basically I think the flow is , make one pin in serial "1" or on and ...

check status of one port on remote host

I need a command line that can check the port status on a remote host. I tried ping xxx.xxx.xxx.xxx:161 but it doesn't recognize the "host". I thought it was a "good" answer until I did the same command against a host I know has that port open. This is for a batch file on Windows that will check the status of the remote port then run...

Why will socket connection to port 23 not work?

I have this small test socket connection class:- import java.net.Socket; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.IOException; public class TestTelnet { public static void main(String args[]) throws Exception { Telnet telnet = ...

Port 80 forwarding - no css or images.

Hi all, ive got a bit of a problem at the minute. I have an xampp web server set up on my home computer and ive configured my router to forward port 80 requests to it. (im using dyndns to resolve my dynamic ip) However, although it retrieves the expected information from the server, it is missing all CSS and images. Does anybody know the...

Porting SHA512 Javascript implemention to Actionscript

Hello Everyone, I am wondering if anyone can help me in porting a SHA-512 implemention in Javascript to Actionscript. Since both Javascript and Actionscript share the same origin, I think porting it will be easy for people who are used to Actionscript. The code for sha512 in javascript can be found here: http://pajhome.org.uk/crypt/md...

Programatically create a web site in IIS using C# and set port number

We have been able to create a web site. We did this using the information in this link: http://msdn.microsoft.com/en-us/library/ms525598.aspx However, we would like to use a port number other that port 80. How do we do this? We are using IIS 6 Thanks Shiraz ...

Cannot connect to server externally using Twisted library in Python

I am trying to get a simple TCP server running on my server. I am using echoserv.py and echoclient.py on the Twisted examples page. When I run echoserv.py on the server, I can connect fine using the following in echoclient.py: reactor.connectTCP('localhost', 8000, factory) <- for a localhost connection reactor.connectTCP('192.168.0.250'...

How to Free a Port in .NET....after a TCPListener has recieved a required thing from remote client..

How to Free a Port in .NET used by TCPListener.... after a TCPListener has recieved a required thing from ...

.NET equivalent of java.awt.color.ColorSpace

I'm trying to port a library from Java to .NET that makes heavy use of the java.awt.color namespace. What is the .NET equivalent to this? ...

Connecting to MySQL using zend

I've set up a virtual host on my local machine myhost.com, have installed zend there and am now trying to connect to the MySQLdatabase. I get the following error message: Message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on ''myhost.com'' (10060) All the tips I've found via google haven't helped. I use kaspersky antivir...

On localhost, how to pick a free port number?

Hello, I try to play with inter process communication and since I could not figure out how to use named pipes under Windows I thought I'll use network sockets. Everything happens locally, server is able to launch slaves in a separate process and listens on some port and the slaves do their work and submit the result to the master. How do...

Question on MacPorts comment: "manually remove the catalog entry for this port when you uninstall it"

I was recently installing Inkscape with MacPorts through a Mac OSX Leopard Terminal using "sudo port install inkscape" And during the search-and-download for dependencies, many of these type of comments were printed: ###################################################################### # As MacPorts does not currently have a post-de...

How to read from a device's COM Port?

Hello, I´ve a device running Windows CE, which is capable to receive GPS datas. Now I wrote an application (C#, .Net Compact Framework 2.0 using VS2008) in order to receive this data and later on work with it. The support contact of the device told me to use its COM port (number 5) to get the data. As I´m not that experienced in working...

Port 80 is being used by SYSTEM (PID 4), what is that?

I am trying to use port 80 for my application server, but when I perform "netstat -aon" I get TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4 When I look up the process in task manager, it shows PID 4 is SYSTEM, thats it, not extension... nothing, just "SYSTEM". Whats going on here? I'm afraid to end this process, what do I do? UPDATE: I've ...

Workaround for PHP SOAP request failure when wsdl defines service port binding as https and port 80?

I am consuming a SOAP web service using php5's soap extension. The service' wsdl was generated using Axis java2wsdl, and whatever options are used during generation result in the port binding url being listed as https://xxx.xxx.xxx.xxx**:80** If I download the wsdl to my server, remove the port 80 specification from the port binding lo...

silverlight tcp tunneling / bridging

I have an application that I develop in Silverlight and it must connect to another legacy app that I cannot control which demands TCP connection on the 3005 port. I can't modify the legacy app to bring the port in the silverlight accepted range (4502 - 453x). Is there a bridging app / another solution that would listen on a configurabl...

WCF port routing

I have NAT which received incoming WCF requests and changes port number before it hands off to the host however, this is causing problem is there anyway to turn this off or fix? ex) wcf.service.com:80 -> NAT -> wcf.service.2522 !error Thank you. ...

can't install lxml (python 2.6.3, osx 10.6 snow leopard)

I try to: easy_install lxml and I get this error: File "build/bdist.macosx-10.3-fat/egg/setuptools/command/build_ext.py", line 85, in get_ext_filename KeyError: 'etree' any hints? ...