// JP opened flex table

Click to See Complete Forum and Search --> : how to receive() from connect()ed socket


bungrudi
March 8th, 2004, 01:47 PM
Hi,

I want to query a web page from an apache server. I already create()ed and connect("host",port)ed the socket, and then send the request header as char. Correct me if im wrong, but after those procedure i am waiting for the server to send data back to me and what i do is handling OnReceive(). Is this not worked as i expected? If it is the correct way, then why OnReceive didnt get called? I looked at the server access log and it did receive the request my application sent, so i suppose the connecting and sending request header procedure is correct. :confused:

Andreas Masur
March 8th, 2004, 02:07 PM
[Moved thread]

santm4u
March 8th, 2004, 02:14 PM
hi ,
if u r trying through SDK to query the page be sure sockets are created and binding is proper.
next check for some event on the same system for OnRecieve
.
If still u dont get the fault may be ur class path is not set properly
try the following link:

mkssoftware.com/docs/man3/recvfrom.3.asp

//JP added flex table