This site is no longer active and is available for archival purposes only. Registration and login is disabled.

ShellExecute


Postby edge » May 16, 2006 @ 8:05am

If not specified, http requests connect through the default http port 80.

If you don't receive any messages in OnNetMessage(), the connection can't be made to the server.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby Nic-Gun » May 16, 2006 @ 4:38pm

ok then.. port 80 shouldn't be a problem.. now the problem is how can i reach the OnNetMessage() method.. i did put the

shared.ecd->net[0]->Init(ECONN_SOCKET, this);

code at OnInit() and it returns an E_OK.. do i need to add another method so that my program calls the OnNetMessage() method?
User avatar
Nic-Gun
pm Member
 
Posts: 61
Joined: Apr 7, 2005 @ 6:50am
Location: Jakarta, Indonesia


Postby edge » May 16, 2006 @ 6:34pm

The OnNetMessage event will be called when a connection with a server has been made, a previous connection has been closed or data is received. This should happen automatically when calling SendHTTPGet/SendHTTPPost. You can also try calling SearchHost() manually (with port 80), try your own local intranet as well as the online webserver. However, it still doesn't work when the connection has been denied.

Also, try building a test version for a mobile device as well (such as a Windows Mobile Pocket PC). This may work better because there are less restrictions from Windows Mobile than Windows XP related to networking.
EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Previous

Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron