NextCode Posted September 29, 2012 Posted September 29, 2012 Hi , may someone could help This code don't connect when starts, but if I put an web like a www.google.com , yes works good , ... Wow can I do this ? its happening because its a .php ? Thanks a lot for help and Regards TCPStartup() While 1 Local $Socket , $Web $Web = "www.somesite.com/SomePath/New.php?" $Socket = TCPConnect(TCPNameToIP($Web),"80") WEnd
Myicq Posted September 29, 2012 Posted September 29, 2012 You should study some internet fundamentals first.Especially the part that saysa web address (like www.google.com) translates to an IP address of a service, typically a web server. a URL (like www.google.com/Something/whatever) is a combination between a path on the server and a server name.So you are trying to connect to the DNS name "www.somesite.com/SomePath/New.php?" which obviously does NOT map to an IP address.So save the path until later, K ? I am just a hobby programmer, and nothing great to publish right now.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now